#EC89A2#EC89A2

#EC89A2 is a light, vivid pink. Relative luminance 0.383; OKLCH L 74.2% C 0.123 H 4.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#EC89A2
RGBrgb(236, 137, 162)
HSLhsl(345, 72%, 73%)
HSVhsv(345, 42%, 93%)
CMYKcmyk(0%, 41.9%, 31.4%, 7.5%)
CIE-LABlab(68.27, 40.57, 3.33)
CIE-LCHlch(68.27, 40.70, 4.69°)
OKLaboklab(74.22% 0.123 0.0092)
OKLCHoklch(74.22% 0.123 4.3)
XYZxyz(50.0612, 38.3368, 38.9385)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC89A2 #89ECD3
analogous
#EC89D4 #EC89A2 #ECA189
triadic
#EC89A2 #A2EC89 #89A2EC
tetradic
#EC89A2 #D4EC89 #89ECD3 #A189EC
square
#EC89A2 #D4EC89 #89ECD3 #A189EC
split-complementary
#EC89A2 #89ECA1 #89D4EC
monochromatic
#D82350 #E45478 #EC89A2 #F4BECC #FBE5EA

Accessibility & contrast

On white

2.42
#EC89A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#EC89A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC89A2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC89A2#FFFFFF#000000##000000
##EC89A21.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#999BA3
Deuteranopia (green-blind)
#B1ADA0
Tritanopia (blue-blind)
#FC8192
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec89a2;
/* rgb */ color: rgb(236, 137, 162);
/* oklch */ color: oklch(74.2% 0.123 4.3);
Tailwind
colors: {
  custom: {
    50: '#f4adbd',
    500: '#ec89a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec89a2;
$custom-light: #f4adbd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec89a2",
  "rgb": {
    "r": 236,
    "g": 137,
    "b": 162
  },
  "hsl": {
    "h": 344.848,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7422,
    "c": 0.1233,
    "h": 4.3
  },
  "luminance": 0.38333
}

Semantic roles & 50–950 ramp

primary
#EC89A2
secondary
#D9F2EC
accent
#D4A311
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#171012
muted
#857F81

Preview Lab

Preview with #EC89A2

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

Preview Lab → · Contrast checker → · Palette generator →

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