#EC78AB#EC78AB

#EC78AB is a light, vivid pink. Relative luminance 0.342; OKLCH L 71.9% C 0.153 H 353.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#EC78AB
RGBrgb(236, 120, 171)
HSLhsl(334, 75%, 70%)
HSVhsv(334, 49%, 93%)
CMYKcmyk(0%, 49.2%, 27.5%, 7.5%)
CIE-LABlab(65.13, 50.30, -6.36)
CIE-LCHlch(65.13, 50.70, 352.80°)
OKLaboklab(71.93% 0.1521 -0.0161)
OKLCHoklch(71.93% 0.153 353.9)
XYZxyz(48.6610, 34.2103, 42.5606)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78AB #78ECB9
analogous
#EC78E5 #EC78AB #EC7F78
triadic
#EC78AB #ABEC78 #78ABEC
tetradic
#EC78AB #E5EC78 #78ECB9 #7F78EC
square
#EC78AB #E5EC78 #78ECB9 #7F78EC
split-complementary
#EC78AB #78EC7F #78E5EC
monochromatic
#CD1D6A #E4428A #EC78AB #F4AECC #FBE3EE

Accessibility & contrast

On white

2.68
#EC78AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#EC78AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78AB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78AB#FFFFFF#000000##000000
##EC78AB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8791AD
Deuteranopia (green-blind)
#A5A6A8
Tritanopia (blue-blind)
#FB728B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec78ab;
/* rgb */ color: rgb(236, 120, 171);
/* oklch */ color: oklch(71.9% 0.153 353.9);
Tailwind
colors: {
  custom: {
    50: '#f5a2c4',
    500: '#ec78ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec78ab;
$custom-light: #f5a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78ab",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 333.621,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7193,
    "c": 0.15294,
    "h": 353.9
  },
  "luminance": 0.34206
}

Semantic roles & 50–950 ramp

primary
#EC78AB
secondary
#D0F0E2
accent
#D77F0E
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC78AB

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

Preview Lab → · Contrast checker → · Palette generator →

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