#5A0F3F#5A0F3F
#5A0F3F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.118 H 346.7°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5A0F3F |
|---|---|
| RGB | rgb(90, 15, 63) |
| HSL | hsl(322, 71%, 21%) |
| HSV | hsv(322, 83%, 35%) |
| CMYK | cmyk(0%, 83.3%, 30%, 64.7%) |
| CIE-LAB | lab(19.54, 37.67, -10.25) |
| CIE-LCH | lch(19.54, 39.04, 344.78°) |
| OKLab | oklab(32.2% 0.1147 -0.0271) |
| OKLCH | oklch(32.2% 0.118 346.7) |
| XYZ | xyz(5.2847, 2.8748, 4.9782) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.06
Grape Purple
#5D1451
ΔE00 4.69
Velvet
#750851
ΔE00 5.62
Dark Plum
#3F012C
ΔE00 5.97
Rich Purple
#720058
ΔE00 6.38
Aubergine
#3D0734
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A0F3F #0F5A2A
analogous
#4F0F5A #5A0F3F #5A0F19
triadic
#5A0F3F #3F5A0F #0F3F5A
tetradic
#5A0F3F #5A4F0F #0F5A2A #0F195A
square
#5A0F3F #5A4F0F #0F5A2A #0F195A
split-complementary
#5A0F3F #195A0F #0F5A4F
monochromatic
#1A0412 #26061A #5A0F3F #8E1864 #C32088
Accessibility & contrast
On white
13.34
#5A0F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#5A0F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A0F3F
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A0F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A0F3F | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#31343D
Tritanopia (blue-blind)
#610C25
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #5a0f3f; /* rgb */ color: rgb(90, 15, 63); /* oklch */ color: oklch(32.2% 0.118 346.7);
Tailwind
colors: {
custom: {
50: '#8c5774',
500: '#5a0f3f',
950: '#000000',
},
}SCSS
$custom: #5a0f3f; $custom-light: #8c5774; $custom-dark: #000000;
JSON
{
"hex": "#5a0f3f",
"rgb": {
"r": 90,
"g": 15,
"b": 63
},
"hsl": {
"h": 321.6,
"s": 71.429,
"l": 20.588
},
"oklch": {
"l": 0.32197,
"c": 0.11781,
"h": 346.7
},
"luminance": 0.02874
}Semantic roles & 50–950 ramp
primary
#5A0F3F
secondary
#319455
accent
#EE7B3A
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0308
muted
#7D787B