#EC78CA#EC78CA

#EC78CA is a light, vivid pink. Relative luminance 0.355; OKLCH L 73.0% C 0.172 H 339.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#EC78CA
RGBrgb(236, 120, 202)
HSLhsl(318, 75%, 70%)
HSVhsv(318, 49%, 93%)
CMYKcmyk(0%, 49.2%, 14.4%, 7.5%)
CIE-LABlab(66.16, 54.71, -22.30)
CIE-LCHlch(66.16, 59.08, 337.83°)
OKLaboklab(73.04% 0.1608 -0.0597)
OKLCHoklch(73.04% 0.172 339.6)
XYZxyz(51.9698, 35.5338, 59.9871)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78CA #78EC9A
analogous
#D478EC #EC78CA #EC7890
triadic
#EC78CA #CAEC78 #78CAEC
tetradic
#EC78CA #ECD478 #78EC9A #7890EC
square
#EC78CA #ECD478 #78EC9A #7890EC
split-complementary
#EC78CA #90EC78 #78ECD4
monochromatic
#CD1D99 #E442B5 #EC78CA #F4AEDF #FBE3F4

Accessibility & contrast

On white

2.59
#EC78CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#EC78CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78CA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78CA#FFFFFF#000000##000000
##EC78CA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D95CD
Deuteranopia (green-blind)
#9DA8C7
Tritanopia (blue-blind)
#F77A98
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec78ca;
/* rgb */ color: rgb(236, 120, 202);
/* oklch */ color: oklch(73.0% 0.172 339.6);
Tailwind
colors: {
  custom: {
    50: '#f4a3da',
    500: '#ec78ca',
    950: '#000000',
  },
}
SCSS
$custom: #ec78ca;
$custom-light: #f4a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78ca",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 317.586,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73043,
    "c": 0.17155,
    "h": 339.6
  },
  "luminance": 0.3553
}

Semantic roles & 50–950 ramp

primary
#EC78CA
secondary
#D0F0D9
accent
#D7490E
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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