#EC789A#EC789A

#EC789A is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.4% C 0.147 H 2.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#EC789A
RGBrgb(236, 120, 154)
HSLhsl(342, 75%, 70%)
HSVhsv(342, 49%, 93%)
CMYKcmyk(0%, 49.2%, 34.7%, 7.5%)
CIE-LABlab(64.65, 48.18, 2.61)
CIE-LCHlch(64.65, 48.25, 3.10°)
OKLaboklab(71.41% 0.1464 0.0074)
OKLCHoklch(71.41% 0.147 2.9)
XYZxyz(47.1435, 33.6033, 34.5688)
Luminance0.3360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC789A #78ECCA
analogous
#EC78D4 #EC789A #EC9078
triadic
#EC789A #9AEC78 #789AEC
tetradic
#EC789A #D4EC78 #78ECCA #9078EC
square
#EC789A #D4EC78 #78ECCA #9078EC
split-complementary
#EC789A #78EC90 #78D4EC
monochromatic
#CD1D50 #E44272 #EC789A #F4AEC2 #FBE3EA

Accessibility & contrast

On white

2.72
#EC789A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#EC789A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC789A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC789A#FFFFFF#000000##000000
##EC789A1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8F9B
Deuteranopia (green-blind)
#A9A597
Tritanopia (blue-blind)
#FD6E84
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec789a;
/* rgb */ color: rgb(236, 120, 154);
/* oklch */ color: oklch(71.4% 0.147 2.9);
Tailwind
colors: {
  custom: {
    50: '#f5a2b7',
    500: '#ec789a',
    950: '#000000',
  },
}
SCSS
$custom: #ec789a;
$custom-light: #f5a2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec789a",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 154
  },
  "hsl": {
    "h": 342.414,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71408,
    "c": 0.14656,
    "h": 2.9
  },
  "luminance": 0.33599
}

Semantic roles & 50–950 ramp

primary
#EC789A
secondary
#D0F0E7
accent
#D79C0E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #EC789A

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

Preview Lab → · Contrast checker → · Palette generator →

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