#EC5A9B#EC5A9B

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

Color values

HEX#EC5A9B
RGBrgb(236, 90, 155)
HSLhsl(333, 79%, 64%)
HSVhsv(333, 62%, 93%)
CMYKcmyk(0%, 61.9%, 34.3%, 7.5%)
CIE-LABlab(59.45, 62.07, -5.59)
CIE-LCHlch(59.45, 62.32, 354.86°)
OKLaboklab(67.53% 0.1895 -0.0139)
OKLCHoklch(67.53% 0.19 355.8)
XYZxyz(44.1671, 27.5166, 33.9893)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A9B #5AECAB
analogous
#EC5AE4 #EC5A9B #EC625A
triadic
#EC5A9B #9BEC5A #5A9BEC
tetradic
#EC5A9B #E4EC5A #5AECAB #625AEC
square
#EC5A9B #E4EC5A #5AECAB #625AEC
split-complementary
#EC5A9B #5AEC62 #5AE4EC
monochromatic
#B7155D #E6237A #EC5A9B #F291BC #F9C8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC5A9B#FFFFFF#000000##000000
##EC5A9B1.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)
#727E9D
Deuteranopia (green-blind)
#9A9998
Tritanopia (blue-blind)
#FE4F74
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ec5a9b;
/* rgb */ color: rgb(236, 90, 155);
/* oklch */ color: oklch(67.5% 0.190 355.8);
Tailwind
colors: {
  custom: {
    50: '#f690b8',
    500: '#ec5a9b',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a9b;
$custom-light: #f690b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a9b",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 155
  },
  "hsl": {
    "h": 333.288,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6753,
    "c": 0.18996,
    "h": 355.8
  },
  "luminance": 0.27512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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