#5C1240#5C1240
#5C1240 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.116 H 347.4°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1240 |
|---|---|
| RGB | rgb(92, 18, 64) |
| HSL | hsl(323, 67%, 22%) |
| HSV | hsv(323, 80%, 36%) |
| CMYK | cmyk(0%, 80.4%, 30.4%, 63.9%) |
| CIE-LAB | lab(20.36, 37.34, -9.65) |
| CIE-LCH | lch(20.36, 38.56, 345.51°) |
| OKLab | oklab(32.89% 0.1137 -0.0255) |
| OKLCH | oklch(32.89% 0.116 347.4) |
| XYZ | xyz(5.5556, 3.0787, 5.1512) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.54
Grape Purple
#5D1451
ΔE00 4.84
Velvet
#750851
ΔE00 5.34
Rich Purple
#720058
ΔE00 6.31
Dark Plum
#3F012C
ΔE00 6.50
Merlot
#730039
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1240 #125C2E
analogous
#53125C #5C1240 #5C121B
triadic
#5C1240 #405C12 #12405C
tetradic
#5C1240 #5C5312 #125C2E #121B5C
square
#5C1240 #5C5312 #125C2E #121B5C
split-complementary
#5C1240 #1B5C12 #125C53
monochromatic
#1A0512 #29081C #5C1240 #8F1C64 #C22687
Accessibility & contrast
On white
13.00
#5C1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#5C1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1240
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1240 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#630F27
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #5c1240; /* rgb */ color: rgb(92, 18, 64); /* oklch */ color: oklch(32.9% 0.116 347.4);
Tailwind
colors: {
custom: {
50: '#8d5874',
500: '#5c1240',
950: '#000000',
},
}SCSS
$custom: #5c1240; $custom-light: #8d5874; $custom-dark: #000000;
JSON
{
"hex": "#5c1240",
"rgb": {
"r": 92,
"g": 18,
"b": 64
},
"hsl": {
"h": 322.703,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.32885,
"c": 0.11648,
"h": 347.4
},
"luminance": 0.03078
}Semantic roles & 50–950 ramp
primary
#5C1240
secondary
#359459
accent
#EA7F3E
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B