#7F1138#7F1138
#7F1138 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.144 H 7.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1138 |
|---|---|
| RGB | rgb(127, 17, 56) |
| HSL | hsl(339, 76%, 28%) |
| HSV | hsv(339, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 55.9%, 50.2%) |
| CIE-LAB | lab(27.30, 46.77, 6.89) |
| CIE-LCH | lch(27.30, 47.28, 8.37°) |
| OKLab | oklab(39.19% 0.1427 0.0177) |
| OKLCH | oklch(39.19% 0.144 7.1) |
| XYZ | xyz(9.6676, 5.1999, 4.2352) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.10
Wine (survey)
#80013F
ΔE00 3.33
Red Wine
#8C0034
ΔE00 3.38
Merlot
#730039
ΔE00 4.45
Red Purple
#820747
ΔE00 5.10
Purple Red
#990147
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1138 #117F58
analogous
#7F116F #7F1138 #7F2111
triadic
#7F1138 #387F11 #11387F
tetradic
#7F1138 #6F7F11 #117F58 #21117F
square
#7F1138 #6F7F11 #117F58 #21117F
split-complementary
#7F1138 #117F21 #116F7F
monochromatic
#1B040C #490A20 #7F1138 #B51850 #E2286A
Accessibility & contrast
On white
10.30
#7F1138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1138
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1138 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303339
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1138; /* rgb */ color: rgb(127, 17, 56); /* oklch */ color: oklch(39.2% 0.144 7.1);
Tailwind
colors: {
custom: {
50: '#aa5e6e',
500: '#7f1138',
950: '#000000',
},
}SCSS
$custom: #7f1138; $custom-light: #aa5e6e; $custom-dark: #000000;
JSON
{
"hex": "#7f1138",
"rgb": {
"r": 127,
"g": 17,
"b": 56
},
"hsl": {
"h": 338.727,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.39191,
"c": 0.14383,
"h": 7.1
},
"luminance": 0.05198
}Semantic roles & 50–950 ramp
primary
#7F1138
secondary
#37B588
accent
#F3B035
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A