#5F1027#5F1027
#5F1027 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.111 H 9.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5F1027 |
|---|---|
| RGB | rgb(95, 16, 39) |
| HSL | hsl(343, 71%, 22%) |
| HSV | hsv(343, 83%, 37%) |
| CMYK | cmyk(0%, 83.2%, 58.9%, 62.7%) |
| CIE-LAB | lab(19.85, 36.17, 7.24) |
| CIE-LCH | lch(19.85, 36.89, 11.32°) |
| OKLab | oklab(32.33% 0.1099 0.0183) |
| OKLCH | oklch(32.33% 0.111 9.5) |
| XYZ | xyz(5.2713, 2.9507, 2.2110) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 1.96
Maroon (survey)
#650021
ΔE00 2.82
Bordeaux
#7B002C
ΔE00 5.73
Merlot
#730039
ΔE00 6.26
Claret
#680018
ΔE00 6.34
Wine Red
#7B0323
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F1027 #105F48
analogous
#5F104F #5F1027 #5F2110
triadic
#5F1027 #275F10 #10275F
tetradic
#5F1027 #4F5F10 #105F48 #21105F
square
#5F1027 #4F5F10 #105F48 #21105F
split-complementary
#5F1027 #105F21 #104F5F
monochromatic
#1A040B #2B0711 #5F1027 #93193D #C82252
Accessibility & contrast
On white
13.21
#5F1027 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#5F1027 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F1027
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F1027 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F1027 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#252627
Deuteranopia (green-blind)
#3A3625
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f1027; /* rgb */ color: rgb(95, 16, 39); /* oklch */ color: oklch(32.3% 0.111 9.5);
Tailwind
colors: {
custom: {
50: '#925760',
500: '#5f1027',
950: '#000000',
},
}SCSS
$custom: #5f1027; $custom-light: #925760; $custom-dark: #000000;
JSON
{
"hex": "#5f1027",
"rgb": {
"r": 95,
"g": 16,
"b": 39
},
"hsl": {
"h": 342.532,
"s": 71.171,
"l": 21.765
},
"oklch": {
"l": 0.32334,
"c": 0.11138,
"h": 9.5
},
"luminance": 0.0295
}Semantic roles & 50–950 ramp
primary
#5F1027
secondary
#33987B
accent
#EEBA3A
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879