Claret Color Codes
Claret is a dark, saturated pink with the hex code #7F1734, RGB values of 127, 23, 52 and an HSL value of hsl(343, 69%, 29%).
| HEX | #7F1734 |
|---|---|
| RGB | 127, 23, 52 |
| HSL | hsl(343, 69%, 29%) |
| HSV | 343°, 82%, 50% |
| CMYK | 0%, 82%, 59%, 50% |
| LAB | 27.78, 44.81, 10.25 |
| CIELCHuv | 27.78, 66.20, 2.39° |
- Nearest Pantone
- PMS 208 C ΔE 6.2 · approximate
- Nearest CSS name
-
brownΔE 23.0
Source Wikipedia, List of colors (cites Xona.com)
Claret Color Hex Code
The Claret color hex code is #7F1734. Those six digits are three pairs, 7F for red, 17 for green and 34 for blue, which is the same triplet a browser reads from the CSS value below.
#7F1734
Claret Color RGB Code
The Claret RGB code is rgb(127, 23, 52). Red carries the most light at 127 of 255, which is what puts this color where it sits on the wheel.
rgb(127, 23, 52)
Claret Color HSV Code
The Claret HSV code is 343°, 82%, 50%. Read it as a hue of 343 degrees, 82% saturation and 50% value, which is the form most color pickers use because moving one number changes one thing.
343°, 82%, 50%
Claret Color CIELChuv Code
The Claret CIELCHuv code is 27.78, 66.20, 2.39°. Unlike hex or RGB this one is perceptual: lightness 28 means dark to the eye rather than to the screen, and chroma 66 is how far it sits from grey.
27.78, 66.20, 2.39°
Tonal scale
What are Claret Color Palettes?
A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.
Shades, toward black
Tints, toward white
Tones, toward grey
Palettes
What are Claret Color Palette Codes?
Each of these is a hue rotation from #7F1734. They are generated, not curated, so they are exact.
Complementary
Half a turn away is #177F62, a mid-tone, saturated spring green. This is the widest separation the wheel offers, and the reason complementary pairs are the default for anything that must stand out. Neither is especially saturated, so this pairing stays calm enough for large areas of both.
Analogous
Either side sit #7F1768 and #7F2E17, 30 degrees out. Low tension by construction: useful when you need several related tones that still feel like one choice.
Triadic
#347F17 and #17347F complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.
Split-complementary
Instead of the direct complement, this takes the two hues either side of it: #177F2E and #17687F. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.
Tetradic
Two complementary pairs forming a rectangle: this base with #177F62, and #687F17 with #2E177F. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.
Accessibility
Contrast checker: is Claret accessible?
Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.
White background
10.12:110.12
contrast ratio on white background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Passes | Passes |
| Large text needs 3:1 / 4.5:1 | Passes | Passes |
| UI component needs 3:1 | Passes | n/a |
Black background
2.07:12.07
contrast ratio on black background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Fails | Fails |
| Large text needs 3:1 / 4.5:1 | Fails | Fails |
| UI component needs 3:1 | Fails | n/a |
Claret clears WCAG AA against white at 10.12:1, so it is safe for body copy as well as headings. Text placed on it should be white, which gives 10.12:1.
Color vision
How Claret looks with color blindness
Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.
Protanopia
About 1% of men#63622F
Claret changes substantially here. ΔE 57.0
No working red cones. Reds darken sharply and drift toward the same muddy olive as green.
Deuteranopia
About 1% of men#676C2D
Claret changes substantially here. ΔE 63.3
No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.
Tritanopia
About 1 in 10,000#7C2A29
Claret shifts noticeably here. ΔE 13.5
No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.
Achromatopsia
About 1 in 30,000#424242
Claret changes substantially here. ΔE 46.0
No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.
To a deuteranope, the most common form, Claret reads as #676C2D. That is a shift of ΔE 63.3, so it is a different color to roughly one man in sixteen. It sits in the red end of the spectrum, which is exactly where red-green deficiency does its damage. Never pair it with a green of similar lightness to signal a difference in meaning: to a large minority the two become one color. The widest shift is under deuteranopia, at ΔE 63.3. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.
Snippets
Using Claret in code
:root {
--claret: #7F1734;
}
.example {
color: var(--claret);
}
// tailwind.config.js
theme: {
extend: {
colors: {
'claret': '#7F1734',
},
},
}
// SwiftUI takes 0–1 components, not 0–255.
let claret = Color(
red: 0.498,
green: 0.090,
blue: 0.204
)
<!-- res/values/colors.xml -->
<color name="claret">#7F1734</color>
// Flutter wants ARGB: FF for full opacity, then the hex.
const claret = Color(0xFF7F1734);