#7F1239#7F1239
#7F1239 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.143 H 6.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1239 |
|---|---|
| RGB | rgb(127, 18, 57) |
| HSL | hsl(339, 75%, 28%) |
| HSV | hsv(339, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 55.1%, 50.2%) |
| CIE-LAB | lab(27.41, 46.60, 6.37) |
| CIE-LCH | lch(27.41, 47.04, 7.78°) |
| OKLab | oklab(39.28% 0.1423 0.0164) |
| OKLCH | oklch(39.28% 0.143 6.6) |
| XYZ | xyz(9.7081, 5.2415, 4.3706) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.12
Bordeaux
#7B002C
ΔE00 3.38
Red Wine
#8C0034
ΔE00 3.58
Merlot
#730039
ΔE00 4.30
Red Purple
#820747
ΔE00 4.84
Purple Red
#990147
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1239 #127F58
analogous
#7F126F #7F1239 #7F2112
triadic
#7F1239 #397F12 #12397F
tetradic
#7F1239 #6F7F12 #127F58 #21127F
square
#7F1239 #6F7F12 #127F58 #21127F
split-complementary
#7F1239 #127F21 #126F7F
monochromatic
#1B040C #490A21 #7F1239 #B51A51 #E12B6C
Accessibility & contrast
On white
10.25
#7F1239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1239
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1239 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#31333A
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1239; /* rgb */ color: rgb(127, 18, 57); /* oklch */ color: oklch(39.3% 0.143 6.6);
Tailwind
colors: {
custom: {
50: '#aa5e6f',
500: '#7f1239',
950: '#000000',
},
}SCSS
$custom: #7f1239; $custom-light: #aa5e6f; $custom-dark: #000000;
JSON
{
"hex": "#7f1239",
"rgb": {
"r": 127,
"g": 18,
"b": 57
},
"hsl": {
"h": 338.532,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39284,
"c": 0.14327,
"h": 6.6
},
"luminance": 0.0524
}Semantic roles & 50–950 ramp
primary
#7F1239
secondary
#38B588
accent
#F2AF36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A