#4E2540#4E2540
#4E2540 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.072 H 341.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2540 |
|---|---|
| RGB | rgb(78, 37, 64) |
| HSL | hsl(320, 36%, 23%) |
| HSV | hsv(320, 53%, 31%) |
| CMYK | cmyk(0%, 52.6%, 17.9%, 69.4%) |
| CIE-LAB | lab(21.26, 23.31, -8.51) |
| CIE-LCH | lch(21.26, 24.81, 339.94°) |
| OKLab | oklab(33.06% 0.0688 -0.0227) |
| OKLCH | oklch(33.06% 0.072 341.8) |
| XYZ | xyz(4.7289, 3.3133, 5.2400) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 6.23
Aubergine
#3D0734
ΔE00 7.63
Grape Purple
#5D1451
ΔE00 7.80
Dark Plum
#3F012C
ΔE00 8.03
Eggplant
#380835
ΔE00 8.37
Grape
#6C3461
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2540 #254E33
analogous
#48254E #4E2540 #4E252B
triadic
#4E2540 #404E25 #25404E
tetradic
#4E2540 #4E4825 #254E33 #252B4E
square
#4E2540 #4E4825 #254E33 #252B4E
split-complementary
#4E2540 #2B4E25 #254E48
monochromatic
#150A11 #24111E #4E2540 #783962 #A14C84
Accessibility & contrast
On white
12.63
#4E2540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#4E2540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2540
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2540 | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272F41
Deuteranopia (green-blind)
#32353F
Tritanopia (blue-blind)
#52252F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #4e2540; /* rgb */ color: rgb(78, 37, 64); /* oklch */ color: oklch(33.1% 0.072 341.8);
Tailwind
colors: {
custom: {
50: '#816174',
500: '#4e2540',
950: '#000000',
},
}SCSS
$custom: #4e2540; $custom-light: #816174; $custom-dark: #000000;
JSON
{
"hex": "#4e2540",
"rgb": {
"r": 78,
"g": 37,
"b": 64
},
"hsl": {
"h": 320.488,
"s": 35.652,
"l": 22.549
},
"oklch": {
"l": 0.33055,
"c": 0.07248,
"h": 341.8
},
"luminance": 0.03313
}Semantic roles & 50–950 ramp
primary
#4E2540
secondary
#4E815F
accent
#CC825C
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0A0508
muted
#7C797B