#5F122C#5F122C
#5F122C is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.110 H 5.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5F122C |
|---|---|
| RGB | rgb(95, 18, 44) |
| HSL | hsl(340, 68%, 22%) |
| HSV | hsv(340, 81%, 37%) |
| CMYK | cmyk(0%, 81.1%, 53.7%, 62.7%) |
| CIE-LAB | lab(20.24, 35.92, 4.25) |
| CIE-LCH | lch(20.24, 36.17, 6.74°) |
| OKLab | oklab(32.67% 0.1097 0.0111) |
| OKLCH | oklch(32.67% 0.11 5.8) |
| XYZ | xyz(5.3907, 3.0481, 2.6869) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.07
Maroon (survey)
#650021
ΔE00 4.34
Merlot
#730039
ΔE00 5.14
Bordeaux
#7B002C
ΔE00 6.40
Wine (survey)
#80013F
ΔE00 7.10
Wine
#722F37
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F122C #125F45
analogous
#5F1253 #5F122C #5F1E12
triadic
#5F122C #2C5F12 #122C5F
tetradic
#5F122C #535F12 #125F45 #1E125F
square
#5F122C #535F12 #125F45 #1E125F
split-complementary
#5F122C #125F1E #12535F
monochromatic
#1A050C #2C0814 #5F122C #921C44 #C6255C
Accessibility & contrast
On white
13.05
#5F122C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#5F122C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F122C
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F122C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F122C | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272D
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#68011D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5f122c; /* rgb */ color: rgb(95, 18, 44); /* oklch */ color: oklch(32.7% 0.110 5.8);
Tailwind
colors: {
custom: {
50: '#915864',
500: '#5f122c',
950: '#000000',
},
}SCSS
$custom: #5f122c; $custom-light: #915864; $custom-dark: #000000;
JSON
{
"hex": "#5f122c",
"rgb": {
"r": 95,
"g": 18,
"b": 44
},
"hsl": {
"h": 339.74,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.32667,
"c": 0.11028,
"h": 5.8
},
"luminance": 0.03047
}Semantic roles & 50–950 ramp
primary
#5F122C
secondary
#369776
accent
#EBB03D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A