#EC5CA1#EC5CA1

#EC5CA1 is a light, vivid pink. Relative luminance 0.281; OKLCH L 68.0% C 0.190 H 353.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#EC5CA1
RGBrgb(236, 92, 161)
HSLhsl(331, 79%, 64%)
HSVhsv(331, 61%, 93%)
CMYKcmyk(0%, 61%, 31.8%, 7.5%)
CIE-LABlab(59.95, 61.92, -8.33)
CIE-LCHlch(59.95, 62.47, 352.34°)
OKLaboklab(67.96% 0.1886 -0.0212)
OKLCHoklch(67.96% 0.19 353.6)
XYZxyz(44.8545, 28.0651, 36.7662)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CA1 #5CECA7
analogous
#EC5CE9 #EC5CA1 #EC5F5C
triadic
#EC5CA1 #A1EC5C #5CA1EC
tetradic
#EC5CA1 #E9EC5C #5CECA7 #5F5CEC
square
#EC5CA1 #E9EC5C #5CECA7 #5F5CEC
split-complementary
#EC5CA1 #5CEC5F #5CE9EC
monochromatic
#B81563 #E62581 #EC5CA1 #F293C1 #F9CAE0

Accessibility & contrast

On white

3.18
#EC5CA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#EC5CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5CA1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CA1#FFFFFF#000000##000000
##EC5CA11.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7280A3
Deuteranopia (green-blind)
#999A9E
Tritanopia (blue-blind)
#FD5378
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5ca1;
/* rgb */ color: rgb(236, 92, 161);
/* oklch */ color: oklch(68.0% 0.190 353.6);
Tailwind
colors: {
  custom: {
    50: '#f691bc',
    500: '#ec5ca1',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ca1;
$custom-light: #f691bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ca1",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 331.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67961,
    "c": 0.18982,
    "h": 353.6
  },
  "luminance": 0.2806
}

Semantic roles & 50–950 ramp

primary
#EC5CA1
secondary
#B9EBD3
accent
#DB770A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC5CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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