#7F1539#7F1539
#7F1539 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.141 H 7.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1539 |
|---|---|
| RGB | rgb(127, 21, 57) |
| HSL | hsl(340, 72%, 29%) |
| HSV | hsv(340, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 55.1%, 50.2%) |
| CIE-LAB | lab(27.70, 45.79, 6.77) |
| CIE-LCH | lch(27.70, 46.29, 8.41°) |
| OKLab | oklab(39.49% 0.1397 0.0174) |
| OKLCH | oklch(39.49% 0.141 7.1) |
| XYZ | xyz(9.7600, 5.3452, 4.3879) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.34
Red Wine
#8C0034
ΔE00 3.48
Wine (survey)
#80013F
ΔE00 3.50
Merlot
#730039
ΔE00 4.65
Red Purple
#820747
ΔE00 5.16
Purple Red
#990147
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1539 #157F5B
analogous
#7F156E #7F1539 #7F2615
triadic
#7F1539 #397F15 #15397F
tetradic
#7F1539 #6E7F15 #157F5B #26157F
square
#7F1539 #6E7F15 #157F5B #26157F
split-complementary
#7F1539 #157F26 #156E7F
monochromatic
#1A040C #4A0C21 #7F1539 #B41E51 #DD316C
Accessibility & contrast
On white
10.15
#7F1539 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1539 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1539
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1539 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1539 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#32343A
Deuteranopia (green-blind)
#4D4936
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1539; /* rgb */ color: rgb(127, 21, 57); /* oklch */ color: oklch(39.5% 0.141 7.1);
Tailwind
colors: {
custom: {
50: '#aa5f6f',
500: '#7f1539',
950: '#000000',
},
}SCSS
$custom: #7f1539; $custom-light: #aa5f6f; $custom-dark: #000000;
JSON
{
"hex": "#7f1539",
"rgb": {
"r": 127,
"g": 21,
"b": 57
},
"hsl": {
"h": 339.623,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39493,
"c": 0.14078,
"h": 7.1
},
"luminance": 0.05344
}Semantic roles & 50–950 ramp
primary
#7F1539
secondary
#3CB48B
accent
#EEB139
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A