#5C1948#5C1948
#5C1948 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.112 H 341.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5C1948 |
|---|---|
| RGB | rgb(92, 25, 72) |
| HSL | hsl(318, 57%, 23%) |
| HSV | hsv(318, 73%, 36%) |
| CMYK | cmyk(0%, 72.8%, 21.7%, 63.9%) |
| CIE-LAB | lab(21.72, 35.72, -13.05) |
| CIE-LCH | lch(21.72, 38.03, 339.93°) |
| OKLab | oklab(34% 0.1069 -0.035) |
| OKLCH | oklch(34% 0.112 341.9) |
| XYZ | xyz(5.9311, 3.4390, 6.4811) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 1.96
Grape Purple
#5D1451
ΔE00 3.07
Velvet
#750851
ΔE00 5.29
Rich Purple
#720058
ΔE00 5.57
Deep Violet
#490648
ΔE00 6.45
Eggplant Purple
#430541
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C1948 #195C2D
analogous
#4E195C #5C1948 #5C1927
triadic
#5C1948 #485C19 #19485C
tetradic
#5C1948 #5C4E19 #195C2D #19275C
square
#5C1948 #5C4E19 #195C2D #19275C
split-complementary
#5C1948 #275C19 #195C4E
monochromatic
#180713 #2C0C22 #5C1948 #8C266E #BC3393
Accessibility & contrast
On white
12.44
#5C1948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#5C1948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C1948
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C1948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C1948 | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2D49
Deuteranopia (green-blind)
#333846
Tritanopia (blue-blind)
#621A2E
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #5c1948; /* rgb */ color: rgb(92, 25, 72); /* oklch */ color: oklch(34.0% 0.112 341.9);
Tailwind
colors: {
custom: {
50: '#8d5c7b',
500: '#5c1948',
950: '#000000',
},
}SCSS
$custom: #5c1948; $custom-light: #8d5c7b; $custom-dark: #000000;
JSON
{
"hex": "#5c1948",
"rgb": {
"r": 92,
"g": 25,
"b": 72
},
"hsl": {
"h": 317.91,
"s": 57.265,
"l": 22.941
},
"oklch": {
"l": 0.34002,
"c": 0.11248,
"h": 341.9
},
"luminance": 0.03438
}Semantic roles & 50–950 ramp
primary
#5C1948
secondary
#3F9258
accent
#E17547
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B