#EC5AA7#EC5AA7

#EC5AA7 is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.9% C 0.195 H 350.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#EC5AA7
RGBrgb(236, 90, 167)
HSLhsl(328, 79%, 64%)
HSVhsv(328, 62%, 93%)
CMYKcmyk(0%, 61.9%, 29.2%, 7.5%)
CIE-LABlab(59.83, 63.48, -11.97)
CIE-LCHlch(59.83, 64.59, 349.32°)
OKLaboklab(67.94% 0.1929 -0.031)
OKLCHoklch(67.94% 0.195 350.9)
XYZxyz(45.2254, 27.9399, 39.5629)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AA7 #5AEC9F
analogous
#E85AEC #EC5AA7 #EC5A5E
triadic
#EC5AA7 #A7EC5A #5AA7EC
tetradic
#EC5AA7 #ECE85A #5AEC9F #5A5EEC
square
#EC5AA7 #ECE85A #5AEC9F #5A5EEC
split-complementary
#EC5AA7 #5EEC5A #5AECE8
monochromatic
#B7156A #E6238A #EC5AA7 #F291C4 #F9C8E2

Accessibility & contrast

On white

3.19
#EC5AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5AA7#FFFFFF#000000##000000
##EC5AA71.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80A9
Deuteranopia (green-blind)
#979AA4
Tritanopia (blue-blind)
#FC5379
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5aa7;
/* rgb */ color: rgb(236, 90, 167);
/* oklch */ color: oklch(67.9% 0.195 350.9);
Tailwind
colors: {
  custom: {
    50: '#f690c1',
    500: '#ec5aa7',
    950: '#000000',
  },
}
SCSS
$custom: #ec5aa7;
$custom-light: #f690c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5aa7",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 328.356,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67941,
    "c": 0.19541,
    "h": 350.9
  },
  "luminance": 0.27935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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