#EC78CD#EC78CD

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

Color values

HEX#EC78CD
RGBrgb(236, 120, 205)
HSLhsl(316, 75%, 70%)
HSVhsv(316, 49%, 93%)
CMYKcmyk(0%, 49.2%, 13.1%, 7.5%)
CIE-LABlab(66.27, 55.17, -23.81)
CIE-LCHlch(66.27, 60.09, 336.66°)
OKLaboklab(73.16% 0.1615 -0.064)
OKLCHoklch(73.16% 0.174 338.4)
XYZxyz(52.3285, 35.6773, 61.8760)
Luminance0.3567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78CD #78EC97
analogous
#D178EC #EC78CD #EC7893
triadic
#EC78CD #CDEC78 #78CDEC
tetradic
#EC78CD #ECD178 #78EC97 #7893EC
square
#EC78CD #ECD178 #78EC97 #7893EC
split-complementary
#EC78CD #93EC78 #78ECD1
monochromatic
#CD1D9E #E442B9 #EC78CD #F4AEE1 #FBE3F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC78CD#FFFFFF#000000##000000
##EC78CD1.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)
#7C96D0
Deuteranopia (green-blind)
#9CA8CA
Tritanopia (blue-blind)
#F77B99
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ec78cd;
/* rgb */ color: rgb(236, 120, 205);
/* oklch */ color: oklch(73.2% 0.174 338.4);
Tailwind
colors: {
  custom: {
    50: '#f4a3dc',
    500: '#ec78cd',
    950: '#000000',
  },
}
SCSS
$custom: #ec78cd;
$custom-light: #f4a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78cd",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 316.034,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73162,
    "c": 0.17374,
    "h": 338.4
  },
  "luminance": 0.35674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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