#4E2742#4E2742
#4E2742 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.5% C 0.070 H 339.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4E2742 |
|---|---|
| RGB | rgb(78, 39, 66) |
| HSL | hsl(318, 33%, 23%) |
| HSV | hsv(318, 50%, 31%) |
| CMYK | cmyk(0%, 50%, 15.4%, 69.4%) |
| CIE-LAB | lab(21.82, 22.47, -9.03) |
| CIE-LCH | lch(21.82, 24.21, 338.11°) |
| OKLab | oklab(33.5% 0.0659 -0.0241) |
| OKLCH | oklch(33.5% 0.07 339.9) |
| XYZ | xyz(4.8508, 3.4644, 5.5664) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Plum (survey)
#580F41
ΔE00 6.70
Grape Purple
#5D1451
ΔE00 7.95
Aubergine
#3D0734
ΔE00 8.02
Grape
#6C3461
ΔE00 8.20
Dark Plum
#3F012C
ΔE00 8.59
Eggplant
#380835
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E2742 #274E33
analogous
#46274E #4E2742 #4E272E
triadic
#4E2742 #424E27 #27424E
tetradic
#4E2742 #4E4627 #274E33 #272E4E
square
#4E2742 #4E4627 #274E33 #272E4E
split-complementary
#4E2742 #2E4E27 #274E46
monochromatic
#140A11 #25131F #4E2742 #773B65 #A05087
Accessibility & contrast
On white
12.41
#4E2742 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#4E2742 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4E2742
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E2742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E2742 | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293043
Deuteranopia (green-blind)
#333741
Tritanopia (blue-blind)
#522831
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #4e2742; /* rgb */ color: rgb(78, 39, 66); /* oklch */ color: oklch(33.5% 0.070 339.9);
Tailwind
colors: {
custom: {
50: '#816276',
500: '#4e2742',
950: '#000000',
},
}SCSS
$custom: #4e2742; $custom-light: #816276; $custom-dark: #000000;
JSON
{
"hex": "#4e2742",
"rgb": {
"r": 78,
"g": 39,
"b": 66
},
"hsl": {
"h": 318.462,
"s": 33.333,
"l": 22.941
},
"oklch": {
"l": 0.33501,
"c": 0.07018,
"h": 339.9
},
"luminance": 0.03464
}Semantic roles & 50–950 ramp
primary
#4E2742
secondary
#50815F
accent
#C97F5E
background
#F7F5F7
surface
#EEEAED
border
#C9C6C8
text
#0A0508
muted
#7C797B