#EC5AA8#EC5AA8

#EC5AA8 is a light, vivid pink. Relative luminance 0.280; OKLCH L 68.0% C 0.196 H 350.5°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#EC5AA8
RGBrgb(236, 90, 168)
HSLhsl(328, 79%, 64%)
HSVhsv(328, 62%, 93%)
CMYKcmyk(0%, 61.9%, 28.8%, 7.5%)
CIE-LABlab(59.87, 63.60, -12.49)
CIE-LCHlch(59.87, 64.81, 348.89°)
OKLaboklab(67.98% 0.1932 -0.0325)
OKLCHoklch(67.98% 0.196 350.5)
XYZxyz(45.3182, 27.9770, 40.0517)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AA8 #5AEC9E
analogous
#E75AEC #EC5AA8 #EC5A5F
triadic
#EC5AA8 #A8EC5A #5AA8EC
tetradic
#EC5AA8 #ECE75A #5AEC9E #5A5FEC
square
#EC5AA8 #ECE75A #5AEC9E #5A5FEC
split-complementary
#EC5AA8 #5FEC5A #5AECE7
monochromatic
#B7156B #E6238B #EC5AA8 #F291C5 #F9C8E2

Accessibility & contrast

On white

3.18
#EC5AA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#EC5AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AA8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AA8#FFFFFF#000000##000000
##EC5AA81.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80AA
Deuteranopia (green-blind)
#969AA5
Tritanopia (blue-blind)
#FC537A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5aa8;
/* rgb */ color: rgb(236, 90, 168);
/* oklch */ color: oklch(68.0% 0.196 350.5);
Tailwind
colors: {
  custom: {
    50: '#f690c1',
    500: '#ec5aa8',
    950: '#000000',
  },
}
SCSS
$custom: #ec5aa8;
$custom-light: #f690c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5aa8",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 168
  },
  "hsl": {
    "h": 327.945,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67977,
    "c": 0.19591,
    "h": 350.5
  },
  "luminance": 0.27972
}

Semantic roles & 50–950 ramp

primary
#EC5AA8
secondary
#B7EBCF
accent
#DC6C0A
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC5AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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