#5F1128#5F1128
#5F1128 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.111 H 8.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1128 |
|---|---|
| RGB | rgb(95, 17, 40) |
| HSL | hsl(342, 70%, 22%) |
| HSV | hsv(342, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 57.9%, 62.7%) |
| CIE-LAB | lab(19.99, 35.91, 6.74) |
| CIE-LCH | lch(19.99, 36.54, 10.63°) |
| OKLab | oklab(32.45% 0.1092 0.0172) |
| OKLCH | oklch(32.45% 0.111 8.9) |
| XYZ | xyz(5.3033, 2.9877, 2.3045) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.17
Maroon (survey)
#650021
ΔE00 3.10
Bordeaux
#7B002C
ΔE00 5.83
Merlot
#730039
ΔE00 6.08
Claret
#680018
ΔE00 6.64
Wine
#722F37
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1128 #115F48
analogous
#5F114F #5F1128 #5F2111
triadic
#5F1128 #285F11 #11285F
tetradic
#5F1128 #4F5F11 #115F48 #21115F
square
#5F1128 #4F5F11 #115F48 #21115F
split-complementary
#5F1128 #115F21 #114F5F
monochromatic
#1A050B #2B0812 #5F1128 #931A3E #C72454
Accessibility & contrast
On white
13.15
#5F1128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5F1128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1128
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1128 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262628
Deuteranopia (green-blind)
#3A3626
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1128; /* rgb */ color: rgb(95, 17, 40); /* oklch */ color: oklch(32.5% 0.111 8.9);
Tailwind
colors: {
custom: {
50: '#915861',
500: '#5f1128',
950: '#000000',
},
}SCSS
$custom: #5f1128; $custom-light: #915861; $custom-dark: #000000;
JSON
{
"hex": "#5f1128",
"rgb": {
"r": 95,
"g": 17,
"b": 40
},
"hsl": {
"h": 342.308,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32453,
"c": 0.11052,
"h": 8.9
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#5F1128
secondary
#34987A
accent
#ECB83B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0405
muted
#7E7979