#5A0D2C#5A0D2C
#5A0D2C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.2% C 0.111 H 2.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0D2C |
|---|---|
| RGB | rgb(90, 13, 44) |
| HSL | hsl(336, 75%, 20%) |
| HSV | hsv(336, 86%, 35%) |
| CMYK | cmyk(0%, 85.6%, 51.1%, 64.7%) |
| CIE-LAB | lab(18.56, 36.06, 1.70) |
| CIE-LCH | lch(18.56, 36.10, 2.70°) |
| OKLab | oklab(31.24% 0.1106 0.0048) |
| OKLCH | oklch(31.24% 0.111 2.5) |
| XYZ | xyz(4.8154, 2.6440, 2.6392) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.15
Merlot
#730039
ΔE00 5.26
Maroon (survey)
#650021
ΔE00 5.72
Plum (survey)
#580F41
ΔE00 7.59
Wine (survey)
#80013F
ΔE00 7.62
Bordeaux
#7B002C
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0D2C #0D5A3B
analogous
#5A0D52 #5A0D2C #5A140D
triadic
#5A0D2C #2C5A0D #0D2C5A
tetradic
#5A0D2C #525A0D #0D5A3B #140D5A
square
#5A0D2C #525A0D #0D5A3B #140D5A
split-complementary
#5A0D2C #0D5A14 #0D525A
monochromatic
#1B040D #250512 #5A0D2C #8F1546 #C51C60
Accessibility & contrast
On white
13.74
#5A0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#5A0D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0D2C
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0D2C | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20242D
Deuteranopia (green-blind)
#35332A
Tritanopia (blue-blind)
#63001B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0d2c; /* rgb */ color: rgb(90, 13, 44); /* oklch */ color: oklch(31.2% 0.111 2.5);
Tailwind
colors: {
custom: {
50: '#8d5564',
500: '#5a0d2c',
950: '#000000',
},
}SCSS
$custom: #5a0d2c; $custom-light: #8d5564; $custom-dark: #000000;
JSON
{
"hex": "#5a0d2c",
"rgb": {
"r": 90,
"g": 13,
"b": 44
},
"hsl": {
"h": 335.844,
"s": 74.757,
"l": 20.196
},
"oklch": {
"l": 0.31239,
"c": 0.11074,
"h": 2.5
},
"luminance": 0.02643
}Semantic roles & 50–950 ramp
primary
#5A0D2C
secondary
#2E946B
accent
#F1A636
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A