#5F122E#5F122E
#5F122E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.111 H 4.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5F122E |
|---|---|
| RGB | rgb(95, 18, 46) |
| HSL | hsl(338, 68%, 22%) |
| HSV | hsv(338, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 51.6%, 62.7%) |
| CIE-LAB | lab(20.30, 36.11, 2.92) |
| CIE-LCH | lch(20.30, 36.23, 4.63°) |
| OKLab | oklab(32.73% 0.1105 0.0078) |
| OKLCH | oklch(32.73% 0.111 4.1) |
| XYZ | xyz(5.4292, 3.0635, 2.8897) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.68
Merlot
#730039
ΔE00 4.74
Maroon (survey)
#650021
ΔE00 5.03
Bordeaux
#7B002C
ΔE00 6.81
Wine (survey)
#80013F
ΔE00 6.83
Red Purple
#820747
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F122E #125F43
analogous
#5F1255 #5F122E #5F1D12
triadic
#5F122E #2E5F12 #122E5F
tetradic
#5F122E #555F12 #125F43 #1D125F
square
#5F122E #555F12 #125F43 #1D125F
split-complementary
#5F122E #125F1D #12555F
monochromatic
#1A050C #2C0815 #5F122E #921C47 #C62560
Accessibility & contrast
On white
13.02
#5F122E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F122E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F122E
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F122E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F122E | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272F
Deuteranopia (green-blind)
#39362C
Tritanopia (blue-blind)
#68021E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f122e; /* rgb */ color: rgb(95, 18, 46); /* oklch */ color: oklch(32.7% 0.111 4.1);
Tailwind
colors: {
custom: {
50: '#915866',
500: '#5f122e',
950: '#000000',
},
}SCSS
$custom: #5f122e; $custom-light: #915866; $custom-dark: #000000;
JSON
{
"hex": "#5f122e",
"rgb": {
"r": 95,
"g": 18,
"b": 46
},
"hsl": {
"h": 338.182,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32732,
"c": 0.11082,
"h": 4.1
},
"luminance": 0.03063
}Semantic roles & 50–950 ramp
primary
#5F122E
secondary
#369774
accent
#EBAC3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A