#5F122D#5F122D
#5F122D is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.111 H 4.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5F122D |
|---|---|
| RGB | rgb(95, 18, 45) |
| HSL | hsl(339, 68%, 22%) |
| HSV | hsv(339, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 52.6%, 62.7%) |
| CIE-LAB | lab(20.27, 36.01, 3.58) |
| CIE-LCH | lch(20.27, 36.19, 5.68°) |
| OKLab | oklab(32.7% 0.1101 0.0095) |
| OKLCH | oklch(32.7% 0.111 4.9) |
| XYZ | xyz(5.4097, 3.0557, 2.7871) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.37
Maroon (survey)
#650021
ΔE00 4.68
Merlot
#730039
ΔE00 4.93
Bordeaux
#7B002C
ΔE00 6.60
Wine (survey)
#80013F
ΔE00 6.95
Wine
#722F37
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F122D #125F44
analogous
#5F1254 #5F122D #5F1D12
triadic
#5F122D #2D5F12 #122D5F
tetradic
#5F122D #545F12 #125F44 #1D125F
square
#5F122D #545F12 #125F44 #1D125F
split-complementary
#5F122D #125F1D #12545F
monochromatic
#1A050C #2C0815 #5F122D #921C45 #C6255E
Accessibility & contrast
On white
13.04
#5F122D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F122D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F122D
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F122D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F122D | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272E
Deuteranopia (green-blind)
#39362B
Tritanopia (blue-blind)
#68021E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f122d; /* rgb */ color: rgb(95, 18, 45); /* oklch */ color: oklch(32.7% 0.111 4.9);
Tailwind
colors: {
custom: {
50: '#915865',
500: '#5f122d',
950: '#000000',
},
}SCSS
$custom: #5f122d; $custom-light: #915865; $custom-dark: #000000;
JSON
{
"hex": "#5f122d",
"rgb": {
"r": 95,
"g": 18,
"b": 45
},
"hsl": {
"h": 338.961,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32699,
"c": 0.11055,
"h": 4.9
},
"luminance": 0.03055
}Semantic roles & 50–950 ramp
primary
#5F122D
secondary
#369775
accent
#EBAE3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A