#E478CD#E478CD

#E478CD is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.2% C 0.168 H 335.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#E478CD
RGBrgb(228, 120, 205)
HSLhsl(313, 67%, 68%)
HSVhsv(313, 47%, 89%)
CMYKcmyk(0%, 47.4%, 10.1%, 10.6%)
CIE-LABlab(65.23, 52.77, -25.50)
CIE-LCHlch(65.23, 58.61, 334.21°)
OKLaboklab(72.17% 0.1529 -0.0688)
OKLCHoklch(72.17% 0.168 335.8)
XYZxyz(49.7309, 34.3379, 61.7543)
Luminance0.3433 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E478CD #78E48F
analogous
#C578E4 #E478CD #E47897
triadic
#E478CD #CDE478 #78CDE4
tetradic
#E478CD #E4C578 #78E48F #7897E4
square
#E478CD #E4C578 #78E48F #7897E4
split-complementary
#E478CD #97E478 #78E4C5
monochromatic
#BC269C #DA45BA #E478CD #EEABE0 #F8DEF3

Accessibility & contrast

On white

2.67
#E478CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#E478CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E478CD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E478CD#FFFFFF#000000##000000
##E478CD1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#97A4CA
Tritanopia (blue-blind)
#ED7D99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e478cd;
/* rgb */ color: rgb(228, 120, 205);
/* oklch */ color: oklch(72.2% 0.168 335.8);
Tailwind
colors: {
  custom: {
    50: '#efa2dc',
    500: '#e478cd',
    950: '#000000',
  },
}
SCSS
$custom: #e478cd;
$custom-light: #efa2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#e478cd",
  "rgb": {
    "r": 228,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 312.778,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72168,
    "c": 0.16764,
    "h": 335.8
  },
  "luminance": 0.34335
}

Semantic roles & 50–950 ramp

primary
#E478CD
secondary
#CCECD2
accent
#CF3E17
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E478CD

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

Preview Lab → · Contrast checker → · Palette generator →

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