#5B1933#5B1933
#5B1933 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.099 H 0.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5B1933 |
|---|---|
| RGB | rgb(91, 25, 51) |
| HSL | hsl(336, 57%, 23%) |
| HSV | hsv(336, 73%, 36%) |
| CMYK | cmyk(0%, 72.5%, 44%, 64.3%) |
| CIE-LAB | lab(20.67, 32.48, -0.15) |
| CIE-LCH | lch(20.67, 32.48, 359.74°) |
| OKLab | oklab(32.91% 0.0994 0) |
| OKLCH | oklch(32.91% 0.099 0) |
| XYZ | xyz(5.2599, 3.1591, 3.4641) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Merlot
#730039
ΔE00 5.66
Burgundy (survey)
#610023
ΔE00 5.91
Plum (survey)
#580F41
ΔE00 6.80
Maroon (survey)
#650021
ΔE00 7.24
Wine (survey)
#80013F
ΔE00 7.71
Red Purple
#820747
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B1933 #195B41
analogous
#5B1954 #5B1933 #5B2019
triadic
#5B1933 #335B19 #19335B
tetradic
#5B1933 #545B19 #195B41 #20195B
square
#5B1933 #545B19 #195B41 #20195B
split-complementary
#5B1933 #195B20 #19545B
monochromatic
#18070D #2B0C18 #5B1933 #8B264E #BB3369
Accessibility & contrast
On white
12.87
#5B1933 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#5B1933 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B1933
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B1933 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B1933 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#262A34
Deuteranopia (green-blind)
#383631
Tritanopia (blue-blind)
#631124
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #5b1933; /* rgb */ color: rgb(91, 25, 51); /* oklch */ color: oklch(32.9% 0.099 0.0);
Tailwind
colors: {
custom: {
50: '#8d5b6a',
500: '#5b1933',
950: '#000000',
},
}SCSS
$custom: #5b1933; $custom-light: #8d5b6a; $custom-dark: #000000;
JSON
{
"hex": "#5b1933",
"rgb": {
"r": 91,
"g": 25,
"b": 51
},
"hsl": {
"h": 336.364,
"s": 56.897,
"l": 22.745
},
"oklch": {
"l": 0.3291,
"c": 0.09943,
"h": 0
},
"luminance": 0.03158
}Semantic roles & 50–950 ramp
primary
#5B1933
secondary
#3F9171
accent
#E0A448
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A