#5F0C2A#5F0C2A
#5F0C2A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.116 H 5.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5F0C2A |
|---|---|
| RGB | rgb(95, 12, 42) |
| HSL | hsl(338, 78%, 21%) |
| HSV | hsv(338, 87%, 37%) |
| CMYK | cmyk(0%, 87.4%, 55.8%, 62.7%) |
| CIE-LAB | lab(19.49, 37.68, 4.61) |
| CIE-LCH | lch(19.49, 37.96, 6.97°) |
| OKLab | oklab(32.1% 0.1152 0.012) |
| OKLCH | oklch(32.1% 0.116 5.9) |
| XYZ | xyz(5.2692, 2.8638, 2.4653) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.46
Maroon (survey)
#650021
ΔE00 3.92
Merlot
#730039
ΔE00 5.00
Bordeaux
#7B002C
ΔE00 6.22
Wine (survey)
#80013F
ΔE00 7.06
Claret
#680018
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F0C2A #0C5F41
analogous
#5F0C53 #5F0C2A #5F170C
triadic
#5F0C2A #2A5F0C #0C2A5F
tetradic
#5F0C2A #535F0C #0C5F41 #170C5F
square
#5F0C2A #535F0C #0C5F41 #170C5F
split-complementary
#5F0C2A #0C5F17 #0C535F
monochromatic
#1B030C #290512 #5F0C2A #951342 #CC1A5A
Accessibility & contrast
On white
13.35
#5F0C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5F0C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F0C2A
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F0C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F0C2A | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23252B
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5f0c2a; /* rgb */ color: rgb(95, 12, 42); /* oklch */ color: oklch(32.1% 0.116 5.9);
Tailwind
colors: {
custom: {
50: '#915663',
500: '#5f0c2a',
950: '#000000',
},
}SCSS
$custom: #5f0c2a; $custom-light: #915663; $custom-dark: #000000;
JSON
{
"hex": "#5f0c2a",
"rgb": {
"r": 95,
"g": 12,
"b": 42
},
"hsl": {
"h": 338.313,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.32099,
"c": 0.11579,
"h": 5.9
},
"luminance": 0.02863
}Semantic roles & 50–950 ramp
primary
#5F0C2A
secondary
#2D9972
accent
#F4AF34
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879