#7F1837#7F1837
#7F1837 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.138 H 9.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1837 |
|---|---|
| RGB | rgb(127, 24, 55) |
| HSL | hsl(342, 68%, 30%) |
| HSV | hsv(342, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 56.7%, 50.2%) |
| CIE-LAB | lab(27.96, 44.73, 8.49) |
| CIE-LCH | lch(27.96, 45.53, 10.74°) |
| OKLab | oklab(39.67% 0.136 0.0216) |
| OKLCH | oklch(39.67% 0.138 9) |
| XYZ | xyz(9.7696, 5.4425, 4.1498) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.93
Red Wine
#8C0034
ΔE00 3.06
Wine (survey)
#80013F
ΔE00 4.58
Wine Red
#7B0323
ΔE00 5.53
Merlot
#730039
ΔE00 5.59
Purple Red
#990147
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1837 #187F60
analogous
#7F186B #7F1837 #7F2D18
triadic
#7F1837 #377F18 #18377F
tetradic
#7F1837 #6B7F18 #187F60 #2D187F
square
#7F1837 #6B7F18 #187F60 #2D187F
split-complementary
#7F1837 #187F2D #186B7F
monochromatic
#1A050B #4C0E21 #7F1837 #B2224D #D93869
Accessibility & contrast
On white
10.06
#7F1837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1837
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1837 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343538
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1837; /* rgb */ color: rgb(127, 24, 55); /* oklch */ color: oklch(39.7% 0.138 9.0);
Tailwind
colors: {
custom: {
50: '#aa606d',
500: '#7f1837',
950: '#000000',
},
}SCSS
$custom: #7f1837; $custom-light: #aa606d; $custom-dark: #000000;
JSON
{
"hex": "#7f1837",
"rgb": {
"r": 127,
"g": 24,
"b": 55
},
"hsl": {
"h": 341.942,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.3967,
"c": 0.13768,
"h": 9
},
"luminance": 0.05441
}Semantic roles & 50–950 ramp
primary
#7F1837
secondary
#3FB390
accent
#EBB73D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A