#5A0F3D#5A0F3D
#5A0F3D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.117 H 348.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F3D |
|---|---|
| RGB | rgb(90, 15, 61) |
| HSL | hsl(323, 71%, 21%) |
| HSV | hsv(323, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 32.2%, 64.7%) |
| CIE-LAB | lab(19.44, 37.40, -8.99) |
| CIE-LCH | lch(19.44, 38.46, 346.48°) |
| OKLab | oklab(32.1% 0.1142 -0.0236) |
| OKLCH | oklch(32.1% 0.117 348.3) |
| XYZ | xyz(5.2299, 2.8528, 4.6892) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.68
Grape Purple
#5D1451
ΔE00 5.33
Velvet
#750851
ΔE00 5.83
Dark Plum
#3F012C
ΔE00 5.96
Aubergine
#3D0734
ΔE00 6.78
Rich Purple
#720058
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F3D #0F5A2C
analogous
#510F5A #5A0F3D #5A0F17
triadic
#5A0F3D #3D5A0F #0F3D5A
tetradic
#5A0F3D #5A510F #0F5A2C #0F175A
square
#5A0F3D #5A510F #0F5A2C #0F175A
split-complementary
#5A0F3D #175A0F #0F5A51
monochromatic
#1A0412 #260619 #5A0F3D #8E1861 #C32084
Accessibility & contrast
On white
13.37
#5A0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A0F3D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F3D
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F3D | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B273E
Deuteranopia (green-blind)
#31343B
Tritanopia (blue-blind)
#610B24
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a0f3d; /* rgb */ color: rgb(90, 15, 61); /* oklch */ color: oklch(32.1% 0.117 348.3);
Tailwind
colors: {
custom: {
50: '#8c5772',
500: '#5a0f3d',
950: '#000000',
},
}SCSS
$custom: #5a0f3d; $custom-light: #8c5772; $custom-dark: #000000;
JSON
{
"hex": "#5a0f3d",
"rgb": {
"r": 90,
"g": 15,
"b": 61
},
"hsl": {
"h": 323.2,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.32102,
"c": 0.11658,
"h": 348.3
},
"luminance": 0.02852
}Semantic roles & 50–950 ramp
primary
#5A0F3D
secondary
#319457
accent
#EE7F3A
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0308
muted
#7D787B