#5F112B#5F112B
#5F112B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.111 H 6.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5F112B |
|---|---|
| RGB | rgb(95, 17, 43) |
| HSL | hsl(340, 70%, 22%) |
| HSV | hsv(340, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 54.7%, 62.7%) |
| CIE-LAB | lab(20.08, 36.18, 4.73) |
| CIE-LCH | lch(20.08, 36.49, 7.45°) |
| OKLab | oklab(32.54% 0.1105 0.0123) |
| OKLCH | oklch(32.54% 0.111 6.4) |
| XYZ | xyz(5.3563, 3.0090, 2.5838) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.78
Maroon (survey)
#650021
ΔE00 4.04
Merlot
#730039
ΔE00 5.26
Bordeaux
#7B002C
ΔE00 6.25
Wine (survey)
#80013F
ΔE00 7.19
Claret
#680018
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F112B #115F45
analogous
#5F1152 #5F112B #5F1E11
triadic
#5F112B #2B5F11 #112B5F
tetradic
#5F112B #525F11 #115F45 #1E115F
square
#5F112B #525F11 #115F45 #1E115F
split-complementary
#5F112B #115F1E #11525F
monochromatic
#1A050C #2B0814 #5F112B #931A42 #C7245A
Accessibility & contrast
On white
13.11
#5F112B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5F112B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F112B
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F112B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F112B | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f112b; /* rgb */ color: rgb(95, 17, 43); /* oklch */ color: oklch(32.5% 0.111 6.4);
Tailwind
colors: {
custom: {
50: '#915864',
500: '#5f112b',
950: '#000000',
},
}SCSS
$custom: #5f112b; $custom-light: #915864; $custom-dark: #000000;
JSON
{
"hex": "#5f112b",
"rgb": {
"r": 95,
"g": 17,
"b": 43
},
"hsl": {
"h": 340,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32543,
"c": 0.11113,
"h": 6.4
},
"luminance": 0.03008
}Semantic roles & 50–950 ramp
primary
#5F112B
secondary
#349876
accent
#ECB13B
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979