#EC789C#EC789C

#EC789C is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.5% C 0.147 H 1.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#EC789C
RGBrgb(236, 120, 156)
HSLhsl(341, 75%, 70%)
HSVhsv(341, 49%, 93%)
CMYKcmyk(0%, 49.2%, 33.9%, 7.5%)
CIE-LABlab(64.70, 48.41, 1.55)
CIE-LCHlch(64.70, 48.44, 1.83°)
OKLaboklab(71.47% 0.1471 0.0046)
OKLCHoklch(71.47% 0.147 1.8)
XYZxyz(47.3115, 33.6705, 35.4534)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC789C #78ECC8
analogous
#EC78D6 #EC789C #EC8E78
triadic
#EC789C #9CEC78 #789CEC
tetradic
#EC789C #D6EC78 #78ECC8 #8E78EC
square
#EC789C #D6EC78 #78ECC8 #8E78EC
split-complementary
#EC789C #78EC8E #78D6EC
monochromatic
#CD1D53 #E44275 #EC789C #F4AEC3 #FBE3EB

Accessibility & contrast

On white

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

On black

7.73
#EC789C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC789C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC789C#FFFFFF#000000##000000
##EC789C1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8F9D
Deuteranopia (green-blind)
#A8A599
Tritanopia (blue-blind)
#FD6F85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ec789c;
/* rgb */ color: rgb(236, 120, 156);
/* oklch */ color: oklch(71.5% 0.147 1.8);
Tailwind
colors: {
  custom: {
    50: '#f5a2b9',
    500: '#ec789c',
    950: '#000000',
  },
}
SCSS
$custom: #ec789c;
$custom-light: #f5a2b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec789c",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 341.379,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71466,
    "c": 0.14714,
    "h": 1.8
  },
  "luminance": 0.33666
}

Semantic roles & 50–950 ramp

primary
#EC789C
secondary
#D0F0E6
accent
#D7990E
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#170F11
muted
#857F80

Preview Lab

Preview with #EC789C

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

Preview Lab → · Contrast checker → · Palette generator →

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