#5A0F2B#5A0F2B
#5A0F2B is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.108 H 3.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F2B |
|---|---|
| RGB | rgb(90, 15, 43) |
| HSL | hsl(338, 71%, 21%) |
| HSV | hsv(338, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 52.2%, 64.7%) |
| CIE-LAB | lab(18.76, 35.30, 2.71) |
| CIE-LCH | lch(18.76, 35.40, 4.38°) |
| OKLab | oklab(31.38% 0.1081 0.0073) |
| OKLCH | oklch(31.38% 0.108 3.8) |
| XYZ | xyz(4.8237, 2.6904, 2.5503) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.75
Maroon (survey)
#650021
ΔE00 5.25
Merlot
#730039
ΔE00 5.52
Bordeaux
#7B002C
ΔE00 7.61
Wine (survey)
#80013F
ΔE00 7.77
Plum (survey)
#580F41
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F2B #0F5A3E
analogous
#5A0F50 #5A0F2B #5A180F
triadic
#5A0F2B #2B5A0F #0F2B5A
tetradic
#5A0F2B #505A0F #0F5A3E #180F5A
square
#5A0F2B #505A0F #0F5A3E #180F5A
split-complementary
#5A0F2B #0F5A18 #0F505A
monochromatic
#1A040D #260612 #5A0F2B #8E1844 #C3205D
Accessibility & contrast
On white
13.65
#5A0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A0F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F2B
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F2B | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22242C
Deuteranopia (green-blind)
#353329
Tritanopia (blue-blind)
#63001B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a0f2b; /* rgb */ color: rgb(90, 15, 43); /* oklch */ color: oklch(31.4% 0.108 3.8);
Tailwind
colors: {
custom: {
50: '#8d5664',
500: '#5a0f2b',
950: '#000000',
},
}SCSS
$custom: #5a0f2b; $custom-light: #8d5664; $custom-dark: #000000;
JSON
{
"hex": "#5a0f2b",
"rgb": {
"r": 90,
"g": 15,
"b": 43
},
"hsl": {
"h": 337.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31376,
"c": 0.10835,
"h": 3.8
},
"luminance": 0.0269
}Semantic roles & 50–950 ramp
primary
#5A0F2B
secondary
#31946F
accent
#EEAB3A
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879