#EC78CC#EC78CC

#EC78CC is a light, vivid pink. Relative luminance 0.356; OKLCH L 73.1% C 0.173 H 338.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#EC78CC
RGBrgb(236, 120, 204)
HSLhsl(317, 75%, 70%)
HSVhsv(317, 49%, 93%)
CMYKcmyk(0%, 49.2%, 13.6%, 7.5%)
CIE-LABlab(66.24, 55.02, -23.31)
CIE-LCHlch(66.24, 59.75, 337.04°)
OKLaboklab(73.12% 0.1613 -0.0626)
OKLCHoklch(73.12% 0.173 338.8)
XYZxyz(52.2081, 35.6291, 61.2424)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78CC #78EC98
analogous
#D278EC #EC78CC #EC7892
triadic
#EC78CC #CCEC78 #78CCEC
tetradic
#EC78CC #ECD278 #78EC98 #7892EC
square
#EC78CC #ECD278 #78EC98 #7892EC
split-complementary
#EC78CC #92EC78 #78ECD2
monochromatic
#CD1D9C #E442B8 #EC78CC #F4AEE0 #FBE3F5

Accessibility & contrast

On white

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

On black

8.13
#EC78CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78CC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78CC#FFFFFF#000000##000000
##EC78CC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C96CF
Deuteranopia (green-blind)
#9CA8C9
Tritanopia (blue-blind)
#F77B99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec78cc;
/* rgb */ color: rgb(236, 120, 204);
/* oklch */ color: oklch(73.1% 0.173 338.8);
Tailwind
colors: {
  custom: {
    50: '#f4a3db',
    500: '#ec78cc',
    950: '#000000',
  },
}
SCSS
$custom: #ec78cc;
$custom-light: #f4a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78cc",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 316.552,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73122,
    "c": 0.173,
    "h": 338.8
  },
  "luminance": 0.35625
}

Semantic roles & 50–950 ramp

primary
#EC78CC
secondary
#D0F0D9
accent
#D7460E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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