#4E2840#4E2840
#4E2840 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.6% C 0.066 H 342.7°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2840 |
|---|---|
| RGB | rgb(78, 40, 64) |
| HSL | hsl(322, 32%, 23%) |
| HSV | hsv(322, 49%, 31%) |
| CMYK | cmyk(0%, 48.7%, 17.9%, 69.4%) |
| CIE-LAB | lab(21.97, 21.47, -7.43) |
| CIE-LCH | lch(21.97, 22.72, 340.92°) |
| OKLab | oklab(33.59% 0.0634 -0.0197) |
| OKLCH | oklch(33.59% 0.066 342.7) |
| XYZ | xyz(4.8261, 3.5078, 5.2724) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 7.32
Aubergine
#3D0734
ΔE00 8.66
Grape
#6C3461
ΔE00 8.72
Grape Purple
#5D1451
ΔE00 8.82
Dark Plum
#3F012C
ΔE00 9.00
Eggplant
#380835
ΔE00 9.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2840 #284E36
analogous
#49284E #4E2840 #4E282D
triadic
#4E2840 #404E28 #28404E
tetradic
#4E2840 #4E4928 #284E36 #282D4E
square
#4E2840 #4E4928 #284E36 #282D4E
split-complementary
#4E2840 #2D4E28 #284E49
monochromatic
#140A11 #26131F #4E2840 #763D61 #9F5182
Accessibility & contrast
On white
12.34
#4E2840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#4E2840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2840
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2840 | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3141
Deuteranopia (green-blind)
#34373F
Tritanopia (blue-blind)
#522831
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #4e2840; /* rgb */ color: rgb(78, 40, 64); /* oklch */ color: oklch(33.6% 0.066 342.7);
Tailwind
colors: {
custom: {
50: '#816374',
500: '#4e2840',
950: '#000000',
},
}SCSS
$custom: #4e2840; $custom-light: #816374; $custom-dark: #000000;
JSON
{
"hex": "#4e2840",
"rgb": {
"r": 78,
"g": 40,
"b": 64
},
"hsl": {
"h": 322.105,
"s": 32.203,
"l": 23.137
},
"oklch": {
"l": 0.33592,
"c": 0.06642,
"h": 342.7
},
"luminance": 0.03507
}Semantic roles & 50–950 ramp
primary
#4E2840
secondary
#518163
accent
#C8865F
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B