#7F2139#7F2139
#7F2139 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.129 H 10.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2139 |
|---|---|
| RGB | rgb(127, 33, 57) |
| HSL | hsl(345, 59%, 31%) |
| HSV | hsv(345, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 55.1%, 50.2%) |
| CIE-LAB | lab(29.15, 41.71, 8.80) |
| CIE-LCH | lch(29.15, 42.63, 11.91°) |
| OKLab | oklab(40.57% 0.1266 0.0224) |
| OKLCH | oklch(40.57% 0.129 10) |
| XYZ | xyz(10.0357, 5.8965, 4.4798) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.75
Bordeaux
#7B002C
ΔE00 3.97
Wine
#722F37
ΔE00 4.68
Wine (survey)
#80013F
ΔE00 5.63
Wine Red
#7B0323
ΔE00 5.81
Cranberry
#9E003A
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2139 #217F67
analogous
#7F2168 #7F2139 #7F3821
triadic
#7F2139 #397F21 #21397F
tetradic
#7F2139 #687F21 #217F67 #38217F
square
#7F2139 #687F21 #217F67 #38217F
split-complementary
#7F2139 #217F38 #21687F
monochromatic
#1E080D #4E1423 #7F2139 #B02E4F #D04A6C
Accessibility & contrast
On white
9.64
#7F2139 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F2139 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2139
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2139 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#383939
Deuteranopia (green-blind)
#514C37
Tritanopia (blue-blind)
#8B0C2B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f2139; /* rgb */ color: rgb(127, 33, 57); /* oklch */ color: oklch(40.6% 0.129 10.0);
Tailwind
colors: {
custom: {
50: '#a9646f',
500: '#7f2139',
950: '#000000',
},
}SCSS
$custom: #7f2139; $custom-light: #a9646f; $custom-dark: #000000;
JSON
{
"hex": "#7f2139",
"rgb": {
"r": 127,
"g": 33,
"b": 57
},
"hsl": {
"h": 344.681,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.40566,
"c": 0.12851,
"h": 10
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#7F2139
secondary
#4AB297
accent
#E2BA46
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A