#5B122F#5B122F
#5B122F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.0% C 0.107 H 1.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B122F |
|---|---|
| RGB | rgb(91, 18, 47) |
| HSL | hsl(336, 67%, 21%) |
| HSV | hsv(336, 80%, 36%) |
| CMYK | cmyk(0%, 80.2%, 48.4%, 64.3%) |
| CIE-LAB | lab(19.49, 34.94, 0.94) |
| CIE-LCH | lch(19.49, 34.96, 1.54°) |
| OKLab | oklab(31.99% 0.1072 0.0028) |
| OKLCH | oklch(31.99% 0.107 1.5) |
| XYZ | xyz(5.0442, 2.8627, 2.9757) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.76
Merlot
#730039
ΔE00 5.16
Maroon (survey)
#650021
ΔE00 6.23
Plum (survey)
#580F41
ΔE00 7.18
Wine (survey)
#80013F
ΔE00 7.44
Bordeaux
#7B002C
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B122F #125B3E
analogous
#5B1254 #5B122F #5B1A12
triadic
#5B122F #2F5B12 #122F5B
tetradic
#5B122F #545B12 #125B3E #1A125B
square
#5B122F #545B12 #125B3E #1A125B
split-complementary
#5B122F #125B1A #12545B
monochromatic
#1A050D #280815 #5B122F #8E1C49 #C12664
Accessibility & contrast
On white
13.36
#5B122F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B122F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B122F
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B122F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B122F | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#36342D
Tritanopia (blue-blind)
#63051E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b122f; /* rgb */ color: rgb(91, 18, 47); /* oklch */ color: oklch(32.0% 0.107 1.5);
Tailwind
colors: {
custom: {
50: '#8e5867',
500: '#5b122f',
950: '#000000',
},
}SCSS
$custom: #5b122f; $custom-light: #8e5867; $custom-dark: #000000;
JSON
{
"hex": "#5b122f",
"rgb": {
"r": 91,
"g": 18,
"b": 47
},
"hsl": {
"h": 336.164,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.31992,
"c": 0.10721,
"h": 1.5
},
"luminance": 0.02862
}Semantic roles & 50–950 ramp
primary
#5B122F
secondary
#35936E
accent
#EAA63E
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A