#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
RGBrgb(228, 120, 162)
HSLhsl(337, 67%, 68%)
HSVhsv(337, 47%, 89%)
CMYKcmyk(0%, 47.4%, 28.9%, 10.6%)
CIE-LABlab(63.79, 46.47, -3.34)
CIE-LCHlch(63.79, 46.59, 355.89°)
OKLaboklab(70.61% 0.1407 -0.0082)
OKLCHoklch(70.61% 0.141 356.7)
XYZxyz(45.2346, 32.5394, 38.0738)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##E478A21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.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

Preview Lab

Preview with #E478A2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E478A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva