#4E1138#4E1138
#4E1138 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.101 H 345.7°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4E1138 |
|---|---|
| RGB | rgb(78, 17, 56) |
| HSL | hsl(322, 64%, 19%) |
| HSV | hsv(322, 78%, 31%) |
| CMYK | cmyk(0%, 78.2%, 28.2%, 69.4%) |
| CIE-LAB | lab(17.02, 32.40, -9.40) |
| CIE-LCH | lch(17.02, 33.74, 343.82°) |
| OKLab | oklab(29.8% 0.0981 -0.0249) |
| OKLCH | oklch(29.8% 0.101 345.7) |
| XYZ | xyz(4.0563, 2.3066, 3.9722) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 2.67
Dark Plum
#3F012C
ΔE00 3.95
Aubergine
#3D0734
ΔE00 4.64
Grape Purple
#5D1451
ΔE00 6.07
Eggplant
#380835
ΔE00 6.11
Eggplant Purple
#430541
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E1138 #114E27
analogous
#45114E #4E1138 #4E1119
triadic
#4E1138 #384E11 #11384E
tetradic
#4E1138 #4E4511 #114E27 #11194E
square
#4E1138 #4E4511 #114E27 #11194E
split-complementary
#4E1138 #194E11 #114E45
monochromatic
#190512 #1C0614 #4E1138 #801C5C #B22780
Accessibility & contrast
On white
14.37
#4E1138 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#4E1138 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E1138
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E1138 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E1138 | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182339
Deuteranopia (green-blind)
#2B2E37
Tritanopia (blue-blind)
#541022
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #4e1138; /* rgb */ color: rgb(78, 17, 56); /* oklch */ color: oklch(29.8% 0.101 345.7);
Tailwind
colors: {
custom: {
50: '#82556e',
500: '#4e1138',
950: '#000000',
},
}SCSS
$custom: #4e1138; $custom-light: #82556e; $custom-dark: #000000;
JSON
{
"hex": "#4e1138",
"rgb": {
"r": 78,
"g": 17,
"b": 56
},
"hsl": {
"h": 321.639,
"s": 64.211,
"l": 18.627
},
"oklch": {
"l": 0.29804,
"c": 0.10124,
"h": 345.7
},
"luminance": 0.02306
}Semantic roles & 50–950 ramp
primary
#4E1138
secondary
#338752
accent
#E77D41
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A