#5E2147#5E2147
#5E2147 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.3% C 0.101 H 345.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).
Color values
| HEX | #5E2147 |
|---|---|
| RGB | rgb(94, 33, 71) |
| HSL | hsl(323, 48%, 25%) |
| HSV | hsv(323, 65%, 37%) |
| CMYK | cmyk(0%, 64.9%, 24.5%, 63.1%) |
| CIE-LAB | lab(23.41, 32.43, -9.75) |
| CIE-LCH | lch(23.41, 33.86, 343.27°) |
| OKLab | oklab(35.3% 0.0975 -0.0258) |
| OKLCH | oklch(35.3% 0.101 345.2) |
| XYZ | xyz(6.2975, 3.9229, 6.3856) |
| Luminance | 0.0392 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 3.63
Grape Purple
#5D1451
ΔE00 5.14
Velvet
#750851
ΔE00 5.92
Grape
#6C3461
ΔE00 6.37
Rich Purple
#720058
ΔE00 6.96
Merlot
#730039
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E2147 #215E38
analogous
#56215E #5E2147 #5E2129
triadic
#5E2147 #475E21 #21475E
tetradic
#5E2147 #5E5621 #215E38 #21295E
square
#5E2147 #5E5621 #215E38 #21295E
split-complementary
#5E2147 #295E21 #215E56
monochromatic
#170811 #311125 #5E2147 #8B3169 #B9418B
Accessibility & contrast
On white
11.77
#5E2147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#5E2147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5E2147
11.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E2147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E2147 | 1.00 | 11.77 | 1.78 | 11.77 |
| #FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#273148
Deuteranopia (green-blind)
#383C46
Tritanopia (blue-blind)
#642031
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #5e2147; /* rgb */ color: rgb(94, 33, 71); /* oklch */ color: oklch(35.3% 0.101 345.2);
Tailwind
colors: {
custom: {
50: '#8e607a',
500: '#5e2147',
950: '#000000',
},
}SCSS
$custom: #5e2147; $custom-light: #8e607a; $custom-dark: #000000;
JSON
{
"hex": "#5e2147",
"rgb": {
"r": 94,
"g": 33,
"b": 71
},
"hsl": {
"h": 322.623,
"s": 48.031,
"l": 24.902
},
"oklch": {
"l": 0.35301,
"c": 0.10084,
"h": 345.2
},
"luminance": 0.03922
}Semantic roles & 50–950 ramp
primary
#5E2147
secondary
#499264
accent
#D88350
background
#F8F5F7
surface
#F0EAED
border
#CBC6C8
text
#0D0509
muted
#7D797B