#5A0F2D#5A0F2D
#5A0F2D is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.109 H 2.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F2D |
|---|---|
| RGB | rgb(90, 15, 45) |
| HSL | hsl(336, 71%, 21%) |
| HSV | hsv(336, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 50%, 64.7%) |
| CIE-LAB | lab(18.82, 35.50, 1.37) |
| CIE-LCH | lch(18.82, 35.53, 2.21°) |
| OKLab | oklab(31.45% 0.1089 0.0039) |
| OKLCH | oklch(31.45% 0.109 2.1) |
| XYZ | xyz(4.8613, 2.7054, 2.7483) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Burgundy (survey)
#610023
ΔE00 4.41
Merlot
#730039
ΔE00 5.28
Maroon (survey)
#650021
ΔE00 5.94
Plum (survey)
#580F41
ΔE00 7.41
Wine (survey)
#80013F
ΔE00 7.62
Bordeaux
#7B002C
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F2D #0F5A3C
analogous
#5A0F52 #5A0F2D #5A160F
triadic
#5A0F2D #2D5A0F #0F2D5A
tetradic
#5A0F2D #525A0F #0F5A3C #160F5A
square
#5A0F2D #525A0F #0F5A3C #160F5A
split-complementary
#5A0F2D #0F5A16 #0F525A
monochromatic
#1A040D #260613 #5A0F2D #8E1847 #C32061
Accessibility & contrast
On white
13.63
#5A0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#5A0F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F2D
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F2D | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#21242E
Deuteranopia (green-blind)
#35332B
Tritanopia (blue-blind)
#62011C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #5a0f2d; /* rgb */ color: rgb(90, 15, 45); /* oklch */ color: oklch(31.4% 0.109 2.1);
Tailwind
colors: {
custom: {
50: '#8d5665',
500: '#5a0f2d',
950: '#000000',
},
}SCSS
$custom: #5a0f2d; $custom-light: #8d5665; $custom-dark: #000000;
JSON
{
"hex": "#5a0f2d",
"rgb": {
"r": 90,
"g": 15,
"b": 45
},
"hsl": {
"h": 336,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.31445,
"c": 0.10898,
"h": 2.1
},
"luminance": 0.02705
}Semantic roles & 50–950 ramp
primary
#5A0F2D
secondary
#31946C
accent
#EEA63A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A