#E478A2#E478A2
#E478A2 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.6% C 0.141 H 356.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E478A2 |
|---|---|
| RGB | rgb(228, 120, 162) |
| HSL | hsl(337, 67%, 68%) |
| HSV | hsv(337, 47%, 89%) |
| CMYK | cmyk(0%, 47.4%, 28.9%, 10.6%) |
| CIE-LAB | lab(63.79, 46.47, -3.34) |
| CIE-LCH | lch(63.79, 46.59, 355.89°) |
| OKLab | oklab(70.61% 0.1407 -0.0082) |
| OKLCH | oklch(70.61% 0.141 356.7) |
| XYZ | xyz(45.2346, 32.5394, 38.0738) |
| Luminance | 0.3254 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 3.37
Medium Pink
#F36196
ΔE00 4.99
Muted Pink
#D1768F
ΔE00 5.01
Dull Pink
#D5869D
ΔE00 5.20
Carnation Pink
#FF7FA7
ΔE00 5.26
Bubble Gum Pink
#FF69AF
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E478A2 #78E4BA
analogous
#E478D8 #E478A2 #E48478
triadic
#E478A2 #A2E478 #78A2E4
tetradic
#E478A2 #D8E478 #78E4BA #8478E4
square
#E478A2 #D8E478 #78E4BA #8478E4
split-complementary
#E478A2 #78E484 #78D8E4
monochromatic
#BC2660 #DA457F #E478A2 #EEABC5 #F8DEE8
Accessibility & contrast
On white
2.80
#E478A2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#E478A2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E478A2
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E478A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E478A2 | 1.00 | 2.80 | 7.51 | 7.51 |
| #FFFFFF | 2.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#878EA3
Deuteranopia (green-blind)
#A3A29F
Tritanopia (blue-blind)
#F37287
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #e478a2; /* rgb */ color: rgb(228, 120, 162); /* oklch */ color: oklch(70.6% 0.141 356.7);
Tailwind
colors: {
custom: {
50: '#efa2bd',
500: '#e478a2',
950: '#000000',
},
}SCSS
$custom: #e478a2; $custom-light: #efa2bd; $custom-dark: #000000;
JSON
{
"hex": "#e478a2",
"rgb": {
"r": 228,
"g": 120,
"b": 162
},
"hsl": {
"h": 336.667,
"s": 66.667,
"l": 68.235
},
"oklch": {
"l": 0.7061,
"c": 0.14091,
"h": 356.7
},
"luminance": 0.32536
}Semantic roles & 50–950 ramp
primary
#E478A2
secondary
#CCECE0
accent
#CF8717
background
#FFFAFB
surface
#FEF4F6
border
#D6CED0
text
#170F12
muted
#857F81