#7E213A#7E213A
#7E213A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.128 H 9.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7E213A |
|---|---|
| RGB | rgb(126, 33, 58) |
| HSL | hsl(344, 58%, 31%) |
| HSV | hsv(344, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 54%, 50.6%) |
| CIE-LAB | lab(28.98, 41.47, 7.87) |
| CIE-LCH | lch(28.98, 42.21, 10.74°) |
| OKLab | oklab(40.41% 0.126 0.0201) |
| OKLCH | oklch(40.41% 0.128 9.1) |
| XYZ | xyz(9.9126, 5.8302, 4.6055) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.01
Bordeaux
#7B002C
ΔE00 4.09
Wine
#722F37
ΔE00 4.81
Wine (survey)
#80013F
ΔE00 5.22
Purple Red
#990147
ΔE00 6.06
Wine Red
#7B0323
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E213A #217E65
analogous
#7E2168 #7E213A #7E3621
triadic
#7E213A #3A7E21 #213A7E
tetradic
#7E213A #687E21 #217E65 #36217E
square
#7E213A #687E21 #217E65 #36217E
split-complementary
#7E213A #217E36 #21687E
monochromatic
#1D080D #4E1424 #7E213A #AE2E50 #D04A6E
Accessibility & contrast
On white
9.70
#7E213A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E213A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E213A
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E213A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E213A | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38383A
Deuteranopia (green-blind)
#504B38
Tritanopia (blue-blind)
#8A0D2B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e213a; /* rgb */ color: rgb(126, 33, 58); /* oklch */ color: oklch(40.4% 0.128 9.1);
Tailwind
colors: {
custom: {
50: '#a8646f',
500: '#7e213a',
950: '#000000',
},
}SCSS
$custom: #7e213a; $custom-light: #a8646f; $custom-dark: #000000;
JSON
{
"hex": "#7e213a",
"rgb": {
"r": 126,
"g": 33,
"b": 58
},
"hsl": {
"h": 343.871,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40413,
"c": 0.12763,
"h": 9.1
},
"luminance": 0.05829
}Semantic roles & 50–950 ramp
primary
#7E213A
secondary
#4AB195
accent
#E2B846
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A