#5A0F2A#5A0F2A
#5A0F2A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 4.7°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F2A |
|---|---|
| RGB | rgb(90, 15, 42) |
| HSL | hsl(338, 71%, 21%) |
| HSV | hsv(338, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 53.3%, 64.7%) |
| CIE-LAB | lab(18.73, 35.20, 3.37) |
| CIE-LCH | lch(18.73, 35.36, 5.47°) |
| OKLab | oklab(31.34% 0.1077 0.0089) |
| OKLCH | oklch(31.34% 0.108 4.7) |
| XYZ | xyz(4.8056, 2.6831, 2.4549) |
| Luminance | 0.0268 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.43
Maroon (survey)
#650021
ΔE00 4.91
Merlot
#730039
ΔE00 5.68
Bordeaux
#7B002C
ΔE00 7.42
Wine (survey)
#80013F
ΔE00 7.88
Plum (survey)
#580F41
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F2A #0F5A3F
analogous
#5A0F4F #5A0F2A #5A190F
triadic
#5A0F2A #2A5A0F #0F2A5A
tetradic
#5A0F2A #4F5A0F #0F5A3F #190F5A
square
#5A0F2A #4F5A0F #0F5A3F #190F5A
split-complementary
#5A0F2A #0F5A19 #0F4F5A
monochromatic
#1A040C #260612 #5A0F2A #8E1842 #C3205B
Accessibility & contrast
On white
13.67
#5A0F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A0F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F2A
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F2A | 1.00 | 13.67 | 1.54 | 13.67 |
| #FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22242B
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#63001B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a0f2a; /* rgb */ color: rgb(90, 15, 42); /* oklch */ color: oklch(31.3% 0.108 4.7);
Tailwind
colors: {
custom: {
50: '#8d5663',
500: '#5a0f2a',
950: '#000000',
},
}SCSS
$custom: #5a0f2a; $custom-light: #8d5663; $custom-dark: #000000;
JSON
{
"hex": "#5a0f2a",
"rgb": {
"r": 90,
"g": 15,
"b": 42
},
"hsl": {
"h": 338.4,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31343,
"c": 0.10807,
"h": 4.7
},
"luminance": 0.02682
}Semantic roles & 50–950 ramp
primary
#5A0F2A
secondary
#319470
accent
#EEAD3A
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879