#EC78CE#EC78CE

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

Color values

HEX#EC78CE
RGBrgb(236, 120, 206)
HSLhsl(316, 75%, 70%)
HSVhsv(316, 49%, 93%)
CMYKcmyk(0%, 49.2%, 12.7%, 7.5%)
CIE-LABlab(66.31, 55.33, -24.31)
CIE-LCHlch(66.31, 60.44, 336.28°)
OKLaboklab(73.2% 0.1618 -0.0654)
OKLCHoklch(73.2% 0.174 338)
XYZxyz(52.4495, 35.7257, 62.5138)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78CE #78EC96
analogous
#D078EC #EC78CE #EC7894
triadic
#EC78CE #CEEC78 #78CEEC
tetradic
#EC78CE #ECD078 #78EC96 #7894EC
square
#EC78CE #ECD078 #78EC96 #7894EC
split-complementary
#EC78CE #94EC78 #78ECD0
monochromatic
#CD1D9F #E442BB #EC78CE #F4AEE1 #FBE3F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC78CE#FFFFFF#000000##000000
##EC78CE1.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)
#7B96D1
Deuteranopia (green-blind)
#9BA8CB
Tritanopia (blue-blind)
#F77C9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec78ce;
/* rgb */ color: rgb(236, 120, 206);
/* oklch */ color: oklch(73.2% 0.174 338.0);
Tailwind
colors: {
  custom: {
    50: '#f4a3dd',
    500: '#ec78ce',
    950: '#000000',
  },
}
SCSS
$custom: #ec78ce;
$custom-light: #f4a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78ce",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 315.517,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73202,
    "c": 0.17447,
    "h": 338
  },
  "luminance": 0.35722
}

Semantic roles & 50–950 ramp

primary
#EC78CE
secondary
#D0F0D8
accent
#D7420E
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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