#5A0E2A#5A0E2A
#5A0E2A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 4.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0E2A |
|---|---|
| RGB | rgb(90, 14, 42) |
| HSL | hsl(338, 73%, 20%) |
| HSV | hsv(338, 84%, 35%) |
| CMYK | cmyk(0%, 84.4%, 53.3%, 64.7%) |
| CIE-LAB | lab(18.61, 35.54, 3.20) |
| CIE-LCH | lch(18.61, 35.68, 5.15°) |
| OKLab | oklab(31.26% 0.1088 0.0085) |
| OKLCH | oklch(31.26% 0.109 4.5) |
| XYZ | xyz(4.7918, 2.6556, 2.4503) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.45
Maroon (survey)
#650021
ΔE00 4.96
Merlot
#730039
ΔE00 5.60
Bordeaux
#7B002C
ΔE00 7.46
Wine (survey)
#80013F
ΔE00 7.83
Plum (survey)
#580F41
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0E2A #0E5A3E
analogous
#5A0E50 #5A0E2A #5A180E
triadic
#5A0E2A #2A5A0E #0E2A5A
tetradic
#5A0E2A #505A0E #0E5A3E #180E5A
square
#5A0E2A #505A0E #0E5A3E #180E5A
split-complementary
#5A0E2A #0E5A18 #0E505A
monochromatic
#1A040C #250611 #5A0E2A #8F1643 #C41E5B
Accessibility & contrast
On white
13.72
#5A0E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A0E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0E2A
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0E2A | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21242B
Deuteranopia (green-blind)
#353328
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0e2a; /* rgb */ color: rgb(90, 14, 42); /* oklch */ color: oklch(31.3% 0.109 4.5);
Tailwind
colors: {
custom: {
50: '#8d5663',
500: '#5a0e2a',
950: '#000000',
},
}SCSS
$custom: #5a0e2a; $custom-light: #8d5663; $custom-dark: #000000;
JSON
{
"hex": "#5a0e2a",
"rgb": {
"r": 90,
"g": 14,
"b": 42
},
"hsl": {
"h": 337.895,
"s": 73.077,
"l": 20.392
},
"oklch": {
"l": 0.31255,
"c": 0.10912,
"h": 4.5
},
"luminance": 0.02655
}Semantic roles & 50–950 ramp
primary
#5A0E2A
secondary
#30946F
accent
#F0AC38
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879