#EA78D4#EA78D4

#EA78D4 is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.2% C 0.178 H 335.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#EA78D4
RGBrgb(234, 120, 212)
HSLhsl(312, 73%, 69%)
HSVhsv(312, 49%, 92%)
CMYKcmyk(0%, 48.7%, 9.4%, 8.2%)
CIE-LABlab(66.28, 55.69, -27.74)
CIE-LCHlch(66.28, 62.22, 333.52°)
OKLaboklab(73.2% 0.161 -0.075)
OKLCHoklch(73.2% 0.178 335)
XYZxyz(52.5319, 35.6823, 66.3951)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78D4 #78EA8E
analogous
#C778EA #EA78D4 #EA789B
triadic
#EA78D4 #D4EA78 #78D4EA
tetradic
#EA78D4 #EAC778 #78EA8E #789BEA
square
#EA78D4 #EAC778 #78EA8E #789BEA
split-complementary
#EA78D4 #9BEA78 #78EAC7
monochromatic
#C81FA8 #E243C3 #EA78D4 #F2ADE5 #FAE2F6

Accessibility & contrast

On white

2.58
#EA78D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#EA78D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78D4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78D4#FFFFFF#000000##000000
##EA78D41.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7896D7
Deuteranopia (green-blind)
#98A7D1
Tritanopia (blue-blind)
#F47E9C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ea78d4;
/* rgb */ color: rgb(234, 120, 212);
/* oklch */ color: oklch(73.2% 0.178 335.0);
Tailwind
colors: {
  custom: {
    50: '#f3a3e1',
    500: '#ea78d4',
    950: '#000000',
  },
}
SCSS
$custom: #ea78d4;
$custom-light: #f3a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78d4",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 311.579,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73198,
    "c": 0.17758,
    "h": 335
  },
  "luminance": 0.35679
}

Semantic roles & 50–950 ramp

primary
#EA78D4
secondary
#CEEFD5
accent
#D53610
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EA78D4

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

Preview Lab → · Contrast checker → · Palette generator →

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