#EC5A88#EC5A88

#EC5A88 is a light, vivid pink. Relative luminance 0.269; OKLCH L 66.9% C 0.184 H 4.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#EC5A88
RGBrgb(236, 90, 136)
HSLhsl(341, 79%, 64%)
HSVhsv(341, 62%, 93%)
CMYKcmyk(0%, 61.9%, 42.4%, 7.5%)
CIE-LABlab(58.91, 60.05, 4.70)
CIE-LCHlch(58.91, 60.23, 4.47°)
OKLaboklab(66.95% 0.1832 0.0128)
OKLCHoklch(66.95% 0.184 4)
XYZxyz(42.6951, 26.9278, 26.2370)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5A88 #5AECBE
analogous
#EC5AD1 #EC5A88 #EC755A
triadic
#EC5A88 #88EC5A #5A88EC
tetradic
#EC5A88 #D1EC5A #5AECBE #755AEC
square
#EC5A88 #D1EC5A #5AECBE #755AEC
split-complementary
#EC5A88 #5AEC75 #5AD1EC
monochromatic
#B71548 #E62360 #EC5A88 #F291B0 #F9C8D7

Accessibility & contrast

On white

3.29
#EC5A88 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#EC5A88 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5A88
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5A88#FFFFFF#000000##000000
##EC5A881.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#777C89
Deuteranopia (green-blind)
#9E9885
Tritanopia (blue-blind)
#FF496C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ec5a88;
/* rgb */ color: rgb(236, 90, 136);
/* oklch */ color: oklch(66.9% 0.184 4.0);
Tailwind
colors: {
  custom: {
    50: '#f790aa',
    500: '#ec5a88',
    950: '#000000',
  },
}
SCSS
$custom: #ec5a88;
$custom-light: #f790aa;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5a88",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 136
  },
  "hsl": {
    "h": 341.096,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66949,
    "c": 0.18367,
    "h": 4
  },
  "luminance": 0.26923
}

Semantic roles & 50–950 ramp

primary
#EC5A88
secondary
#B7EBDA
accent
#DC9A0A
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #EC5A88

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

Preview Lab → · Contrast checker → · Palette generator →

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