#7F213D#7F213D
#7F213D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.129 H 7.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F213D |
|---|---|
| RGB | rgb(127, 33, 61) |
| HSL | hsl(342, 59%, 31%) |
| HSV | hsv(342, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 52%, 50.2%) |
| CIE-LAB | lab(29.26, 42.07, 6.28) |
| CIE-LCH | lch(29.26, 42.53, 8.49°) |
| OKLab | oklab(40.68% 0.1282 0.0163) |
| OKLCH | oklch(40.68% 0.129 7.3) |
| XYZ | xyz(10.1394, 5.9380, 5.0262) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 4.31
Wine (survey)
#80013F
ΔE00 4.51
Bordeaux
#7B002C
ΔE00 4.60
Wine
#722F37
ΔE00 5.46
Purple Red
#990147
ΔE00 5.49
Berry
#990F4B
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F213D #217F63
analogous
#7F216C #7F213D #7F3421
triadic
#7F213D #3D7F21 #213D7F
tetradic
#7F213D #6C7F21 #217F63 #34217F
square
#7F213D #6C7F21 #217F63 #34217F
split-complementary
#7F213D #217F34 #216C7F
monochromatic
#1E080E #4E1426 #7F213D #B02E54 #D04A72
Accessibility & contrast
On white
9.60
#7F213D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7F213D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F213D
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F213D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F213D | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37393E
Deuteranopia (green-blind)
#504C3B
Tritanopia (blue-blind)
#8B0E2C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f213d; /* rgb */ color: rgb(127, 33, 61); /* oklch */ color: oklch(40.7% 0.129 7.3);
Tailwind
colors: {
custom: {
50: '#a96472',
500: '#7f213d',
950: '#000000',
},
}SCSS
$custom: #7f213d; $custom-light: #a96472; $custom-dark: #000000;
JSON
{
"hex": "#7f213d",
"rgb": {
"r": 127,
"g": 33,
"b": 61
},
"hsl": {
"h": 342.128,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40679,
"c": 0.12921,
"h": 7.3
},
"luminance": 0.05937
}Semantic roles & 50–950 ramp
primary
#7F213D
secondary
#4AB293
accent
#E2B346
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A