#EC5AB1#EC5AB1

#EC5AB1 is a light, highly saturated pink. Relative luminance 0.283; OKLCH L 68.3% C 0.201 H 346.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#EC5AB1
RGBrgb(236, 90, 177)
HSLhsl(324, 79%, 64%)
HSVhsv(324, 62%, 93%)
CMYKcmyk(0%, 61.9%, 25%, 7.5%)
CIE-LABlab(60.18, 64.73, -17.21)
CIE-LCHlch(60.18, 66.98, 345.11°)
OKLaboklab(68.31% 0.1955 -0.0454)
OKLCHoklch(68.31% 0.201 346.9)
XYZxyz(46.1858, 28.3240, 44.6212)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5AB1 #5AEC95
analogous
#DE5AEC #EC5AB1 #EC5A68
triadic
#EC5AB1 #B1EC5A #5AB1EC
tetradic
#EC5AB1 #ECDE5A #5AEC95 #5A68EC
square
#EC5AB1 #ECDE5A #5AEC95 #5A68EC
split-complementary
#EC5AB1 #68EC5A #5AECDE
monochromatic
#B71575 #E62397 #EC5AB1 #F291CB #F9C8E5

Accessibility & contrast

On white

3.15
#EC5AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#EC5AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5AB1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5AB1#FFFFFF#000000##000000
##EC5AB11.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B4
Deuteranopia (green-blind)
#949AAD
Tritanopia (blue-blind)
#FB577E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ab1;
/* rgb */ color: rgb(236, 90, 177);
/* oklch */ color: oklch(68.3% 0.201 346.9);
Tailwind
colors: {
  custom: {
    50: '#f691c8',
    500: '#ec5ab1',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ab1;
$custom-light: #f691c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ab1",
  "rgb": {
    "r": 236,
    "g": 90,
    "b": 177
  },
  "hsl": {
    "h": 324.247,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6831,
    "c": 0.20072,
    "h": 346.9
  },
  "luminance": 0.2832
}

Semantic roles & 50–950 ramp

primary
#EC5AB1
secondary
#B7EBCC
accent
#DC5F0A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #EC5AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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