#7E213B#7E213B
#7E213B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.128 H 8.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E213B |
|---|---|
| RGB | rgb(126, 33, 59) |
| HSL | hsl(343, 58%, 31%) |
| HSV | hsv(343, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 53.2%, 50.6%) |
| CIE-LAB | lab(29.01, 41.56, 7.24) |
| CIE-LCH | lch(29.01, 42.19, 9.88°) |
| OKLab | oklab(40.44% 0.1264 0.0186) |
| OKLCH | oklch(40.44% 0.128 8.4) |
| XYZ | xyz(9.9383, 5.8404, 4.7408) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.14
Bordeaux
#7B002C
ΔE00 4.25
Wine (survey)
#80013F
ΔE00 4.94
Wine
#722F37
ΔE00 5.01
Purple Red
#990147
ΔE00 5.89
Merlot
#730039
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E213B #217E64
analogous
#7E2169 #7E213B #7E3521
triadic
#7E213B #3B7E21 #213B7E
tetradic
#7E213B #697E21 #217E64 #35217E
square
#7E213B #697E21 #217E64 #35217E
split-complementary
#7E213B #217E35 #21697E
monochromatic
#1D080E #4E1424 #7E213B #AE2E52 #D04A6F
Accessibility & contrast
On white
9.69
#7E213B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E213B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E213B
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E213B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E213B | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37383C
Deuteranopia (green-blind)
#504B39
Tritanopia (blue-blind)
#8A0E2C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e213b; /* rgb */ color: rgb(126, 33, 59); /* oklch */ color: oklch(40.4% 0.128 8.4);
Tailwind
colors: {
custom: {
50: '#a86470',
500: '#7e213b',
950: '#000000',
},
}SCSS
$custom: #7e213b; $custom-light: #a86470; $custom-dark: #000000;
JSON
{
"hex": "#7e213b",
"rgb": {
"r": 126,
"g": 33,
"b": 59
},
"hsl": {
"h": 343.226,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40441,
"c": 0.1278,
"h": 8.4
},
"luminance": 0.05839
}Semantic roles & 50–950 ramp
primary
#7E213B
secondary
#4AB194
accent
#E2B646
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A