#5F0C27#5F0C27
#5F0C27 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.115 H 8.4°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5F0C27 |
|---|---|
| RGB | rgb(95, 12, 39) |
| HSL | hsl(340, 78%, 21%) |
| HSV | hsv(340, 87%, 37%) |
| CMYK | cmyk(0%, 87.4%, 58.9%, 62.7%) |
| CIE-LAB | lab(19.40, 37.42, 6.63) |
| CIE-LCH | lch(19.40, 38.00, 10.04°) |
| OKLab | oklab(32.01% 0.1139 0.0169) |
| OKLCH | oklch(32.01% 0.115 8.4) |
| XYZ | xyz(5.2175, 2.8431, 2.1931) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 1.62
Maroon (survey)
#650021
ΔE00 2.87
Bordeaux
#7B002C
ΔE00 5.76
Merlot
#730039
ΔE00 5.81
Claret
#680018
ΔE00 6.69
Wine Red
#7B0323
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F0C27 #0C5F44
analogous
#5F0C50 #5F0C27 #5F1A0C
triadic
#5F0C27 #275F0C #0C275F
tetradic
#5F0C27 #505F0C #0C5F44 #1A0C5F
square
#5F0C27 #505F0C #0C5F44 #1A0C5F
split-complementary
#5F0C27 #0C5F1A #0C505F
monochromatic
#1B030B #290511 #5F0C27 #95133D #CC1A54
Accessibility & contrast
On white
13.39
#5F0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5F0C27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F0C27
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F0C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F0C27 | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232427
Deuteranopia (green-blind)
#393525
Tritanopia (blue-blind)
#680018
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5f0c27; /* rgb */ color: rgb(95, 12, 39); /* oklch */ color: oklch(32.0% 0.115 8.4);
Tailwind
colors: {
custom: {
50: '#925660',
500: '#5f0c27',
950: '#000000',
},
}SCSS
$custom: #5f0c27; $custom-light: #925660; $custom-dark: #000000;
JSON
{
"hex": "#5f0c27",
"rgb": {
"r": 95,
"g": 12,
"b": 39
},
"hsl": {
"h": 340.482,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.32009,
"c": 0.11514,
"h": 8.4
},
"luminance": 0.02842
}Semantic roles & 50–950 ramp
primary
#5F0C27
secondary
#2D9976
accent
#F4B634
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0305
muted
#7E7879