#5B122B#5B122B
#5B122B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.106 H 5.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5B122B |
|---|---|
| RGB | rgb(91, 18, 43) |
| HSL | hsl(339, 67%, 21%) |
| HSV | hsv(339, 80%, 36%) |
| CMYK | cmyk(0%, 80.2%, 52.7%, 64.3%) |
| CIE-LAB | lab(19.36, 34.53, 3.59) |
| CIE-LCH | lch(19.36, 34.72, 5.94°) |
| OKLab | oklab(31.86% 0.1056 0.0095) |
| OKLCH | oklch(31.86% 0.106 5.1) |
| XYZ | xyz(4.9672, 2.8319, 2.5701) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.51
Maroon (survey)
#650021
ΔE00 4.87
Merlot
#730039
ΔE00 5.70
Bordeaux
#7B002C
ΔE00 7.25
Wine (survey)
#80013F
ΔE00 7.79
Wine
#722F37
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B122B #125B42
analogous
#5B1250 #5B122B #5B1E12
triadic
#5B122B #2B5B12 #122B5B
tetradic
#5B122B #505B12 #125B42 #1E125B
square
#5B122B #505B12 #125B42 #1E125B
split-complementary
#5B122B #125B1E #12505B
monochromatic
#1A050C #280813 #5B122B #8E1C43 #C1265B
Accessibility & contrast
On white
13.41
#5B122B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5B122B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B122B
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B122B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B122B | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#64031D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5b122b; /* rgb */ color: rgb(91, 18, 43); /* oklch */ color: oklch(31.9% 0.106 5.1);
Tailwind
colors: {
custom: {
50: '#8e5764',
500: '#5b122b',
950: '#000000',
},
}SCSS
$custom: #5b122b; $custom-light: #8e5764; $custom-dark: #000000;
JSON
{
"hex": "#5b122b",
"rgb": {
"r": 91,
"g": 18,
"b": 43
},
"hsl": {
"h": 339.452,
"s": 66.972,
"l": 21.373
},
"oklch": {
"l": 0.31856,
"c": 0.10599,
"h": 5.1
},
"luminance": 0.02831
}Semantic roles & 50–950 ramp
primary
#5B122B
secondary
#359373
accent
#EAAF3E
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879