#5F112A#5F112A
#5F112A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.111 H 7.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5F112A |
|---|---|
| RGB | rgb(95, 17, 42) |
| HSL | hsl(341, 70%, 22%) |
| HSV | hsv(341, 82%, 37%) |
| CMYK | cmyk(0%, 82.1%, 55.8%, 62.7%) |
| CIE-LAB | lab(20.05, 36.09, 5.40) |
| CIE-LCH | lch(20.05, 36.49, 8.51°) |
| OKLab | oklab(32.51% 0.11 0.0139) |
| OKLCH | oklch(32.51% 0.111 7.2) |
| XYZ | xyz(5.3382, 3.0017, 2.4883) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.52
Maroon (survey)
#650021
ΔE00 3.71
Merlot
#730039
ΔE00 5.51
Bordeaux
#7B002C
ΔE00 6.08
Wine (survey)
#80013F
ΔE00 7.37
Claret
#680018
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F112A #115F46
analogous
#5F1151 #5F112A #5F1F11
triadic
#5F112A #2A5F11 #112A5F
tetradic
#5F112A #515F11 #115F46 #1F115F
square
#5F112A #515F11 #115F46 #1F115F
split-complementary
#5F112A #115F1F #11515F
monochromatic
#1A050B #2B0813 #5F112A #931A41 #C72458
Accessibility & contrast
On white
13.12
#5F112A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#5F112A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5F112A
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F112A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F112A | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#68001C
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #5f112a; /* rgb */ color: rgb(95, 17, 42); /* oklch */ color: oklch(32.5% 0.111 7.2);
Tailwind
colors: {
custom: {
50: '#915863',
500: '#5f112a',
950: '#000000',
},
}SCSS
$custom: #5f112a; $custom-light: #915863; $custom-dark: #000000;
JSON
{
"hex": "#5f112a",
"rgb": {
"r": 95,
"g": 17,
"b": 42
},
"hsl": {
"h": 340.769,
"s": 69.643,
"l": 21.961
},
"oklch": {
"l": 0.32512,
"c": 0.11091,
"h": 7.2
},
"luminance": 0.03001
}Semantic roles & 50–950 ramp
primary
#5F112A
secondary
#349878
accent
#ECB43B
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0405
muted
#7E7979