#EC78BF#EC78BF

#EC78BF is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.6% C 0.164 H 344.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#EC78BF
RGBrgb(236, 120, 191)
HSLhsl(323, 75%, 70%)
HSVhsv(323, 49%, 93%)
CMYKcmyk(0%, 49.2%, 19.1%, 7.5%)
CIE-LABlab(65.77, 53.07, -16.70)
CIE-LCHlch(65.77, 55.64, 342.53°)
OKLaboklab(72.63% 0.158 -0.0442)
OKLCHoklch(72.63% 0.164 344.4)
XYZxyz(50.7135, 35.0313, 53.3708)
Luminance0.3503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78BF #78ECA5
analogous
#DF78EC #EC78BF #EC7885
triadic
#EC78BF #BFEC78 #78BFEC
tetradic
#EC78BF #ECDF78 #78ECA5 #7885EC
square
#EC78BF #ECDF78 #78ECA5 #7885EC
split-complementary
#EC78BF #85EC78 #78ECDF
monochromatic
#CD1D89 #E442A6 #EC78BF #F4AED8 #FBE3F2

Accessibility & contrast

On white

2.62
#EC78BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#EC78BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78BF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78BF#FFFFFF#000000##000000
##EC78BF1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8194C1
Deuteranopia (green-blind)
#A0A7BC
Tritanopia (blue-blind)
#F97793
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ec78bf;
/* rgb */ color: rgb(236, 120, 191);
/* oklch */ color: oklch(72.6% 0.164 344.4);
Tailwind
colors: {
  custom: {
    50: '#f5a2d2',
    500: '#ec78bf',
    950: '#000000',
  },
}
SCSS
$custom: #ec78bf;
$custom-light: #f5a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78bf",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 323.276,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72625,
    "c": 0.16407,
    "h": 344.4
  },
  "luminance": 0.35027
}

Semantic roles & 50–950 ramp

primary
#EC78BF
secondary
#D0F0DC
accent
#D75C0E
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#170F14
muted
#857F82

Preview Lab

Preview with #EC78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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