#7F1638#7F1638
#7F1638 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.140 H 7.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1638 |
|---|---|
| RGB | rgb(127, 22, 56) |
| HSL | hsl(341, 70%, 29%) |
| HSV | hsv(341, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 55.9%, 50.2%) |
| CIE-LAB | lab(27.77, 45.42, 7.55) |
| CIE-LCH | lch(27.77, 46.04, 9.44°) |
| OKLab | oklab(39.54% 0.1384 0.0193) |
| OKLCH | oklch(39.54% 0.14 7.9) |
| XYZ | xyz(9.7540, 5.3728, 4.2640) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.09
Red Wine
#8C0034
ΔE00 3.24
Wine (survey)
#80013F
ΔE00 3.96
Merlot
#730039
ΔE00 5.04
Purple Red
#990147
ΔE00 5.41
Red Purple
#820747
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1638 #167F5D
analogous
#7F166D #7F1638 #7F2816
triadic
#7F1638 #387F16 #16387F
tetradic
#7F1638 #6D7F16 #167F5D #28167F
square
#7F1638 #6D7F16 #167F5D #28167F
split-complementary
#7F1638 #167F28 #166D7F
monochromatic
#1A050C #4B0D21 #7F1638 #B31F4F #DC346A
Accessibility & contrast
On white
10.12
#7F1638 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1638 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1638
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1638 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1638 | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1638; /* rgb */ color: rgb(127, 22, 56); /* oklch */ color: oklch(39.5% 0.140 7.9);
Tailwind
colors: {
custom: {
50: '#aa606e',
500: '#7f1638',
950: '#000000',
},
}SCSS
$custom: #7f1638; $custom-light: #aa606e; $custom-dark: #000000;
JSON
{
"hex": "#7f1638",
"rgb": {
"r": 127,
"g": 22,
"b": 56
},
"hsl": {
"h": 340.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.3954,
"c": 0.1397,
"h": 7.9
},
"luminance": 0.05371
}Semantic roles & 50–950 ramp
primary
#7F1638
secondary
#3DB48D
accent
#EDB33B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A