#EC5CA2#EC5CA2

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

Color values

HEX#EC5CA2
RGBrgb(236, 92, 162)
HSLhsl(331, 79%, 64%)
HSVhsv(331, 61%, 93%)
CMYKcmyk(0%, 61%, 31.4%, 7.5%)
CIE-LABlab(59.98, 62.04, -8.86)
CIE-LCHlch(59.98, 62.66, 351.87°)
OKLaboklab(68% 0.1889 -0.0227)
OKLCHoklch(68% 0.19 353.2)
XYZxyz(44.9430, 28.1005, 37.2325)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5CA2 #5CECA6
analogous
#EC5CEA #EC5CA2 #EC5E5C
triadic
#EC5CA2 #A2EC5C #5CA2EC
tetradic
#EC5CA2 #EAEC5C #5CECA6 #5E5CEC
square
#EC5CA2 #EAEC5C #5CECA6 #5E5CEC
split-complementary
#EC5CA2 #5CEC5E #5CEAEC
monochromatic
#B81565 #E62583 #EC5CA2 #F293C1 #F9CAE1

Accessibility & contrast

On white

3.17
#EC5CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#EC5CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5CA2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5CA2#FFFFFF#000000##000000
##EC5CA21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7180A4
Deuteranopia (green-blind)
#999A9F
Tritanopia (blue-blind)
#FD5378
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ec5ca2;
/* rgb */ color: rgb(236, 92, 162);
/* oklch */ color: oklch(68.0% 0.190 353.2);
Tailwind
colors: {
  custom: {
    50: '#f691bd',
    500: '#ec5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ca2;
$custom-light: #f691bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ca2",
  "rgb": {
    "r": 236,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 330.833,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67995,
    "c": 0.19028,
    "h": 353.2
  },
  "luminance": 0.28096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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