#7E213D#7E213D
#7E213D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.128 H 7.0°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7E213D |
|---|---|
| RGB | rgb(126, 33, 61) |
| HSL | hsl(342, 58%, 31%) |
| HSV | hsv(342, 74%, 49%) |
| CMYK | cmyk(0%, 73.8%, 51.6%, 50.6%) |
| CIE-LAB | lab(29.06, 41.75, 5.98) |
| CIE-LCH | lch(29.06, 42.17, 8.15°) |
| OKLab | oklab(40.5% 0.1273 0.0156) |
| OKLCH | oklch(40.5% 0.128 7) |
| XYZ | xyz(9.9912, 5.8616, 5.0193) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 4.41
Red Wine
#8C0034
ΔE00 4.49
Bordeaux
#7B002C
ΔE00 4.64
Wine
#722F37
ΔE00 5.45
Merlot
#730039
ΔE00 5.52
Red Purple
#820747
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E213D #217E62
analogous
#7E216B #7E213D #7E3321
triadic
#7E213D #3D7E21 #213D7E
tetradic
#7E213D #6B7E21 #217E62 #33217E
square
#7E213D #6B7E21 #217E62 #33217E
split-complementary
#7E213D #217E33 #216B7E
monochromatic
#1D080E #4E1426 #7E213D #AE2E54 #D04A72
Accessibility & contrast
On white
9.67
#7E213D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E213D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E213D
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E213D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E213D | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#8A0F2C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e213d; /* rgb */ color: rgb(126, 33, 61); /* oklch */ color: oklch(40.5% 0.128 7.0);
Tailwind
colors: {
custom: {
50: '#a86472',
500: '#7e213d',
950: '#000000',
},
}SCSS
$custom: #7e213d; $custom-light: #a86472; $custom-dark: #000000;
JSON
{
"hex": "#7e213d",
"rgb": {
"r": 126,
"g": 33,
"b": 61
},
"hsl": {
"h": 341.935,
"s": 58.491,
"l": 31.176
},
"oklch": {
"l": 0.40499,
"c": 0.1282,
"h": 7
},
"luminance": 0.0586
}Semantic roles & 50–950 ramp
primary
#7E213D
secondary
#4AB192
accent
#E2B346
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A