#5B0F28#5B0F28
#5B0F28 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.109 H 6.9°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5B0F28 |
|---|---|
| RGB | rgb(91, 15, 40) |
| HSL | hsl(340, 72%, 21%) |
| HSV | hsv(340, 84%, 36%) |
| CMYK | cmyk(0%, 83.5%, 56%, 64.3%) |
| CIE-LAB | lab(18.88, 35.33, 5.05) |
| CIE-LCH | lch(18.88, 35.69, 8.14°) |
| OKLab | oklab(31.48% 0.1078 0.0131) |
| OKLCH | oklch(31.48% 0.109 6.9) |
| XYZ | xyz(4.8687, 2.7197, 2.2757) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.67
Maroon (survey)
#650021
ΔE00 4.02
Merlot
#730039
ΔE00 6.01
Bordeaux
#7B002C
ΔE00 6.83
Claret
#680018
ΔE00 7.68
Wine (survey)
#80013F
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B0F28 #0F5B42
analogous
#5B0F4E #5B0F28 #5B1C0F
triadic
#5B0F28 #285B0F #0F285B
tetradic
#5B0F28 #4E5B0F #0F5B42 #1C0F5B
square
#5B0F28 #4E5B0F #0F5B42 #1C0F5B
split-complementary
#5B0F28 #0F5B1C #0F4E5B
monochromatic
#1A040C #260611 #5B0F28 #90183F #C42056
Accessibility & contrast
On white
13.60
#5B0F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5B0F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5B0F28
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B0F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B0F28 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232428
Deuteranopia (green-blind)
#373326
Tritanopia (blue-blind)
#64001A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5b0f28; /* rgb */ color: rgb(91, 15, 40); /* oklch */ color: oklch(31.5% 0.109 6.9);
Tailwind
colors: {
custom: {
50: '#8e5661',
500: '#5b0f28',
950: '#000000',
},
}SCSS
$custom: #5b0f28; $custom-light: #8e5661; $custom-dark: #000000;
JSON
{
"hex": "#5b0f28",
"rgb": {
"r": 91,
"g": 15,
"b": 40
},
"hsl": {
"h": 340.263,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.31478,
"c": 0.10857,
"h": 6.9
},
"luminance": 0.02719
}Semantic roles & 50–950 ramp
primary
#5B0F28
secondary
#319574
accent
#EEB339
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0305
muted
#7E7879