#EC5EA2#EC5EA2

#EC5EA2 is a light, vivid pink. Relative luminance 0.284; OKLCH L 68.2% C 0.188 H 353.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#EC5EA2
RGBrgb(236, 94, 162)
HSLhsl(331, 79%, 65%)
HSVhsv(331, 60%, 93%)
CMYKcmyk(0%, 60.2%, 31.4%, 7.5%)
CIE-LABlab(60.29, 61.18, -8.39)
CIE-LCHlch(60.29, 61.76, 352.19°)
OKLaboklab(68.23% 0.1863 -0.0214)
OKLCHoklch(68.23% 0.188 353.4)
XYZxyz(45.1186, 28.4516, 37.2910)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5EA2 #5EECA8
analogous
#EC5EE9 #EC5EA2 #EC615E
triadic
#EC5EA2 #A2EC5E #5EA2EC
tetradic
#EC5EA2 #E9EC5E #5EECA8 #615EEC
square
#EC5EA2 #E9EC5E #5EECA8 #615EEC
split-complementary
#EC5EA2 #5EEC61 #5EE9EC
monochromatic
#BA1664 #E62782 #EC5EA2 #F295C2 #F9CBE1

Accessibility & contrast

On white

3.14
#EC5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#EC5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5EA2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5EA2#FFFFFF#000000##000000
##EC5EA21.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7381A4
Deuteranopia (green-blind)
#9A9B9F
Tritanopia (blue-blind)
#FD5579
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5ea2;
/* rgb */ color: rgb(236, 94, 162);
/* oklch */ color: oklch(68.2% 0.188 353.4);
Tailwind
colors: {
  custom: {
    50: '#f692bd',
    500: '#ec5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ea2;
$custom-light: #f692bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ea2",
  "rgb": {
    "r": 236,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 331.268,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68228,
    "c": 0.1875,
    "h": 353.4
  },
  "luminance": 0.28447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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