#EC78D2#EC78D2

#EC78D2 is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.4% C 0.177 H 336.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#EC78D2
RGBrgb(236, 120, 210)
HSLhsl(313, 75%, 70%)
HSVhsv(313, 49%, 93%)
CMYKcmyk(0%, 49.2%, 11%, 7.5%)
CIE-LABlab(66.46, 55.96, -26.32)
CIE-LCHlch(66.46, 61.84, 334.81°)
OKLaboklab(73.36% 0.1627 -0.071)
OKLCHoklch(73.36% 0.177 336.4)
XYZxyz(52.9417, 35.9226, 65.1056)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78D2 #78EC92
analogous
#CC78EC #EC78D2 #EC7898
triadic
#EC78D2 #D2EC78 #78D2EC
tetradic
#EC78D2 #ECCC78 #78EC92 #7898EC
square
#EC78D2 #ECCC78 #78EC92 #7898EC
split-complementary
#EC78D2 #98EC78 #78ECCC
monochromatic
#CD1DA5 #E442C0 #EC78D2 #F4AEE4 #FBE3F6

Accessibility & contrast

On white

2.57
#EC78D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#EC78D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78D2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78D2#FFFFFF#000000##000000
##EC78D21.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A97D5
Deuteranopia (green-blind)
#9AA8CF
Tritanopia (blue-blind)
#F67D9B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec78d2;
/* rgb */ color: rgb(236, 120, 210);
/* oklch */ color: oklch(73.4% 0.177 336.4);
Tailwind
colors: {
  custom: {
    50: '#f4a3e0',
    500: '#ec78d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec78d2;
$custom-light: #f4a3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78d2",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 313.448,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73364,
    "c": 0.17749,
    "h": 336.4
  },
  "luminance": 0.35919
}

Semantic roles & 50–950 ramp

primary
#EC78D2
secondary
#D0F0D7
accent
#D73B0E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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