#EC78BA#EC78BA

#EC78BA is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.4% C 0.161 H 346.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#EC78BA
RGBrgb(236, 120, 186)
HSLhsl(326, 75%, 70%)
HSVhsv(326, 49%, 93%)
CMYKcmyk(0%, 49.2%, 21.2%, 7.5%)
CIE-LABlab(65.60, 52.35, -14.14)
CIE-LCHlch(65.60, 54.22, 344.89°)
OKLaboklab(72.44% 0.1566 -0.0372)
OKLCHoklch(72.44% 0.161 346.6)
XYZxyz(50.1727, 34.8150, 50.5223)
Luminance0.3481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78BA #78ECAA
analogous
#E478EC #EC78BA #EC7880
triadic
#EC78BA #BAEC78 #78BAEC
tetradic
#EC78BA #ECE478 #78ECAA #7880EC
square
#EC78BA #ECE478 #78ECAA #7880EC
split-complementary
#EC78BA #80EC78 #78ECE4
monochromatic
#CD1D81 #E4429F #EC78BA #F4AED5 #FBE3F1

Accessibility & contrast

On white

2.64
#EC78BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#EC78BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78BA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78BA#FFFFFF#000000##000000
##EC78BA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8293BC
Deuteranopia (green-blind)
#A1A7B7
Tritanopia (blue-blind)
#F97691
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec78ba;
/* rgb */ color: rgb(236, 120, 186);
/* oklch */ color: oklch(72.4% 0.161 346.6);
Tailwind
colors: {
  custom: {
    50: '#f5a2ce',
    500: '#ec78ba',
    950: '#000000',
  },
}
SCSS
$custom: #ec78ba;
$custom-light: #f5a2ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78ba",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 325.862,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72443,
    "c": 0.16096,
    "h": 346.6
  },
  "luminance": 0.34811
}

Semantic roles & 50–950 ramp

primary
#EC78BA
secondary
#D0F0DE
accent
#D7650E
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#170F13
muted
#857F82

Preview Lab

Preview with #EC78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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