#EC5A9A#EC5A9A

#EC5A9A is a light, vivid pink. Relative luminance 0.275; OKLCH L 67.5% C 0.190 H 356.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#EC5A9A
RGBrgb(236, 90, 154)
HSLhsl(334, 79%, 64%)
HSVhsv(334, 62%, 93%)
CMYKcmyk(0%, 61.9%, 34.7%, 7.5%)
CIE-LABlab(59.42, 61.95, -5.05)
CIE-LCHlch(59.42, 62.16, 355.34°)
OKLaboklab(67.5% 0.1892 -0.0125)
OKLCHoklch(67.5% 0.19 356.2)
XYZxyz(44.0834, 27.4831, 33.5488)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A9A #5AECAC
analogous
#EC5AE3 #EC5A9A #EC635A
triadic
#EC5A9A #9AEC5A #5A9AEC
tetradic
#EC5A9A #E3EC5A #5AECAC #635AEC
square
#EC5A9A #E3EC5A #5AECAC #635AEC
split-complementary
#EC5A9A #5AEC63 #5AE3EC
monochromatic
#B7155C #E62378 #EC5A9A #F291BC #F9C8DD

Accessibility & contrast

On white

3.23
#EC5A9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#EC5A9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A9A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A9A#FFFFFF#000000##000000
##EC5A9A1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#727E9C
Deuteranopia (green-blind)
#9A9997
Tritanopia (blue-blind)
#FE4E73
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5a9a;
/* rgb */ color: rgb(236, 90, 154);
/* oklch */ color: oklch(67.5% 0.190 356.2);
Tailwind
colors: {
  custom: {
    50: '#f690b7',
    500: '#ec5a9a',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a9a;
$custom-light: #f690b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a9a",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 154
  },
  "hsl": {
    "h": 333.699,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67497,
    "c": 0.18956,
    "h": 356.2
  },
  "luminance": 0.27478
}

Semantic roles & 50–950 ramp

primary
#EC5A9A
secondary
#B7EBD4
accent
#DC800A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D11
muted
#867E80

Preview Lab

Preview with #EC5A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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