#5A0F23#5A0F23
#5A0F23 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.107 H 11.0°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F23 |
|---|---|
| RGB | rgb(90, 15, 35) |
| HSL | hsl(344, 71%, 21%) |
| HSV | hsv(344, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 61.1%, 64.7%) |
| CIE-LAB | lab(18.53, 34.58, 8.10) |
| CIE-LCH | lch(18.53, 35.51, 13.18°) |
| OKLab | oklab(31.13% 0.1047 0.0203) |
| OKLCH | oklch(31.13% 0.107 11) |
| XYZ | xyz(4.6911, 2.6373, 1.8518) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 2.37
Maroon (survey)
#650021
ΔE00 3.03
Claret
#680018
ΔE00 6.02
Bordeaux
#7B002C
ΔE00 6.63
Dark Maroon
#3C0008
ΔE00 7.11
Merlot
#730039
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F23 #0F5A46
analogous
#5A0F48 #5A0F23 #5A200F
triadic
#5A0F23 #235A0F #0F235A
tetradic
#5A0F23 #485A0F #0F5A46 #200F5A
square
#5A0F23 #485A0F #0F5A46 #200F5A
split-complementary
#5A0F23 #0F5A20 #0F485A
monochromatic
#1A040A #26060F #5A0F23 #8E1837 #C3204C
Accessibility & contrast
On white
13.75
#5A0F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A0F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F23
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F23 | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232323
Deuteranopia (green-blind)
#373321
Tritanopia (blue-blind)
#630018
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f23; /* rgb */ color: rgb(90, 15, 35); /* oklch */ color: oklch(31.1% 0.107 11.0);
Tailwind
colors: {
custom: {
50: '#8e565d',
500: '#5a0f23',
950: '#000000',
},
}SCSS
$custom: #5a0f23; $custom-light: #8e565d; $custom-dark: #000000;
JSON
{
"hex": "#5a0f23",
"rgb": {
"r": 90,
"g": 15,
"b": 35
},
"hsl": {
"h": 344,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31132,
"c": 0.10665,
"h": 11
},
"luminance": 0.02637
}Semantic roles & 50–950 ramp
primary
#5A0F23
secondary
#319479
accent
#EEBE3A
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879