#5A0F2E#5A0F2E
#5A0F2E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.5% C 0.109 H 1.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F2E |
|---|---|
| RGB | rgb(90, 15, 46) |
| HSL | hsl(335, 71%, 21%) |
| HSV | hsv(335, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 48.9%, 64.7%) |
| CIE-LAB | lab(18.86, 35.60, 0.71) |
| CIE-LCH | lch(18.86, 35.61, 1.14°) |
| OKLab | oklab(31.48% 0.1093 0.0022) |
| OKLCH | oklch(31.48% 0.109 1.2) |
| XYZ | xyz(4.8808, 2.7132, 2.8509) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.75
Merlot
#730039
ΔE00 5.20
Maroon (survey)
#650021
ΔE00 6.30
Plum (survey)
#580F41
ΔE00 7.02
Wine (survey)
#80013F
ΔE00 7.57
Dark Plum
#3F012C
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F2E #0F5A3B
analogous
#5A0F53 #5A0F2E #5A150F
triadic
#5A0F2E #2E5A0F #0F2E5A
tetradic
#5A0F2E #535A0F #0F5A3B #150F5A
square
#5A0F2E #535A0F #0F5A3B #150F5A
split-complementary
#5A0F2E #0F5A15 #0F535A
monochromatic
#1A040D #260613 #5A0F2E #8E1849 #C32064
Accessibility & contrast
On white
13.61
#5A0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A0F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F2E
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F2E | 1.00 | 13.61 | 1.54 | 13.61 |
| #FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21252F
Deuteranopia (green-blind)
#35332C
Tritanopia (blue-blind)
#62021D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a0f2e; /* rgb */ color: rgb(90, 15, 46); /* oklch */ color: oklch(31.5% 0.109 1.2);
Tailwind
colors: {
custom: {
50: '#8d5666',
500: '#5a0f2e',
950: '#000000',
},
}SCSS
$custom: #5a0f2e; $custom-light: #8d5666; $custom-dark: #000000;
JSON
{
"hex": "#5a0f2e",
"rgb": {
"r": 90,
"g": 15,
"b": 46
},
"hsl": {
"h": 335.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.3148,
"c": 0.10932,
"h": 1.2
},
"luminance": 0.02713
}Semantic roles & 50–950 ramp
primary
#5A0F2E
secondary
#31946B
accent
#EEA43A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A