#EC78A2#EC78A2

#EC78A2 is a light, vivid pink. Relative luminance 0.339; OKLCH L 71.6% C 0.149 H 358.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#EC78A2
RGBrgb(236, 120, 162)
HSLhsl(338, 75%, 70%)
HSVhsv(338, 49%, 93%)
CMYKcmyk(0%, 49.2%, 31.4%, 7.5%)
CIE-LABlab(64.87, 49.15, -1.63)
CIE-LCHlch(64.87, 49.17, 358.10°)
OKLaboklab(71.65% 0.1491 -0.0036)
OKLCHoklch(71.65% 0.149 358.6)
XYZxyz(47.8322, 33.8788, 38.1955)
Luminance0.3387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78A2 #78ECC2
analogous
#EC78DC #EC78A2 #EC8878
triadic
#EC78A2 #A2EC78 #78A2EC
tetradic
#EC78A2 #DCEC78 #78ECC2 #8878EC
square
#EC78A2 #DCEC78 #78ECC2 #8878EC
split-complementary
#EC78A2 #78EC88 #78DCEC
monochromatic
#CD1D5D #E4427D #EC78A2 #F4AEC7 #FBE3EC

Accessibility & contrast

On white

2.70
#EC78A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#EC78A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78A2
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78A2#FFFFFF#000000##000000
##EC78A21.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A3
Deuteranopia (green-blind)
#A7A59F
Tritanopia (blue-blind)
#FC7087
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec78a2;
/* rgb */ color: rgb(236, 120, 162);
/* oklch */ color: oklch(71.6% 0.149 358.6);
Tailwind
colors: {
  custom: {
    50: '#f5a2bd',
    500: '#ec78a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec78a2;
$custom-light: #f5a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78a2",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 338.276,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71646,
    "c": 0.14917,
    "h": 358.6
  },
  "luminance": 0.33874
}

Semantic roles & 50–950 ramp

primary
#EC78A2
secondary
#D0F0E4
accent
#D78F0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC78A2

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

Preview Lab → · Contrast checker → · Palette generator →

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