#5A0F29#5A0F29
#5A0F29 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 5.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F29 |
|---|---|
| RGB | rgb(90, 15, 41) |
| HSL | hsl(339, 71%, 21%) |
| HSV | hsv(339, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 54.4%, 64.7%) |
| CIE-LAB | lab(18.70, 35.10, 4.05) |
| CIE-LCH | lch(18.70, 35.34, 6.57°) |
| OKLab | oklab(31.31% 0.1073 0.0106) |
| OKLCH | oklch(31.31% 0.108 5.6) |
| XYZ | xyz(4.7879, 2.6761, 2.3618) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 3.14
Maroon (survey)
#650021
ΔE00 4.58
Merlot
#730039
ΔE00 5.87
Bordeaux
#7B002C
ΔE00 7.24
Wine (survey)
#80013F
ΔE00 8.01
Claret
#680018
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F29 #0F5A40
analogous
#5A0F4E #5A0F29 #5A1A0F
triadic
#5A0F29 #295A0F #0F295A
tetradic
#5A0F29 #4E5A0F #0F5A40 #1A0F5A
square
#5A0F29 #4E5A0F #0F5A40 #1A0F5A
split-complementary
#5A0F29 #0F5A1A #0F4E5A
monochromatic
#1A040C #260611 #5A0F29 #8E1841 #C32059
Accessibility & contrast
On white
13.68
#5A0F29 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A0F29 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F29
13.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F29 | 1.00 | 13.68 | 1.54 | 13.68 |
| #FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22242A
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#63001A
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #5a0f29; /* rgb */ color: rgb(90, 15, 41); /* oklch */ color: oklch(31.3% 0.108 5.6);
Tailwind
colors: {
custom: {
50: '#8d5662',
500: '#5a0f29',
950: '#000000',
},
}SCSS
$custom: #5a0f29; $custom-light: #8d5662; $custom-dark: #000000;
JSON
{
"hex": "#5a0f29",
"rgb": {
"r": 90,
"g": 15,
"b": 41
},
"hsl": {
"h": 339.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.3131,
"c": 0.10781,
"h": 5.6
},
"luminance": 0.02675
}Semantic roles & 50–950 ramp
primary
#5A0F29
secondary
#319471
accent
#EEB03A
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879