#EC89AB#EC89AB

#EC89AB is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.5% C 0.126 H 358.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#EC89AB
RGBrgb(236, 137, 171)
HSLhsl(339, 72%, 73%)
HSVhsv(339, 42%, 93%)
CMYKcmyk(0%, 41.9%, 27.5%, 7.5%)
CIE-LABlab(68.51, 41.74, -1.37)
CIE-LCHlch(68.51, 41.76, 358.12°)
OKLaboklab(74.48% 0.1261 -0.003)
OKLCHoklch(74.48% 0.126 358.6)
XYZxyz(50.8900, 38.6684, 43.3036)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89AB #89ECCA
analogous
#EC89DC #EC89AB #EC9889
triadic
#EC89AB #ABEC89 #89ABEC
tetradic
#EC89AB #DCEC89 #89ECCA #9889EC
square
#EC89AB #DCEC89 #89ECCA #9889EC
split-complementary
#EC89AB #89EC98 #89DCEC
monochromatic
#D82361 #E45485 #EC89AB #F4BED1 #FBE5EC

Accessibility & contrast

On white

2.40
#EC89AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#EC89AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89AB
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89AB#FFFFFF#000000##000000
##EC89AB1.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#979CAC
Deuteranopia (green-blind)
#AFAEA9
Tritanopia (blue-blind)
#FB8395
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ec89ab;
/* rgb */ color: rgb(236, 137, 171);
/* oklch */ color: oklch(74.5% 0.126 358.6);
Tailwind
colors: {
  custom: {
    50: '#f4adc4',
    500: '#ec89ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec89ab;
$custom-light: #f4adc4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89ab",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 171
  },
  "hsl": {
    "h": 339.394,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74483,
    "c": 0.12618,
    "h": 358.6
  },
  "luminance": 0.38664
}

Semantic roles & 50–950 ramp

primary
#EC89AB
secondary
#D9F2EA
accent
#D49111
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#171012
muted
#857F81

Preview Lab

Preview with #EC89AB

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

Preview Lab → · Contrast checker → · Palette generator →

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