#5F1229#5F1229
#5F1229 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.110 H 8.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1229 |
|---|---|
| RGB | rgb(95, 18, 41) |
| HSL | hsl(342, 68%, 22%) |
| HSV | hsv(342, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 56.8%, 62.7%) |
| CIE-LAB | lab(20.15, 35.64, 6.25) |
| CIE-LCH | lch(20.15, 36.19, 9.94°) |
| OKLab | oklab(32.57% 0.1085 0.016) |
| OKLCH | oklch(32.57% 0.11 8.4) |
| XYZ | xyz(5.3364, 3.0264, 2.4005) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.40
Maroon (survey)
#650021
ΔE00 3.39
Merlot
#730039
ΔE00 5.92
Bordeaux
#7B002C
ΔE00 5.94
Claret
#680018
ΔE00 6.93
Wine
#722F37
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1229 #125F48
analogous
#5F1250 #5F1229 #5F2212
triadic
#5F1229 #295F12 #12295F
tetradic
#5F1229 #505F12 #125F48 #22125F
square
#5F1229 #505F12 #125F48 #22125F
split-complementary
#5F1229 #125F22 #12505F
monochromatic
#1A050B #2C0813 #5F1229 #921C3F #C62555
Accessibility & contrast
On white
13.08
#5F1229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F1229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1229
13.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1229 | 1.00 | 13.08 | 1.61 | 13.08 |
| #FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262729
Deuteranopia (green-blind)
#3A3627
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f1229; /* rgb */ color: rgb(95, 18, 41); /* oklch */ color: oklch(32.6% 0.110 8.4);
Tailwind
colors: {
custom: {
50: '#915862',
500: '#5f1229',
950: '#000000',
},
}SCSS
$custom: #5f1229; $custom-light: #915862; $custom-dark: #000000;
JSON
{
"hex": "#5f1229",
"rgb": {
"r": 95,
"g": 18,
"b": 41
},
"hsl": {
"h": 342.078,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32575,
"c": 0.10963,
"h": 8.4
},
"luminance": 0.03026
}Semantic roles & 50–950 ramp
primary
#5F1229
secondary
#36977A
accent
#EBB73D
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0405
muted
#7E7979