#EC5BA2#EC5BA2

#EC5BA2 is a light, vivid pink. Relative luminance 0.279; OKLCH L 67.9% C 0.192 H 353.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#EC5BA2
RGBrgb(236, 91, 162)
HSLhsl(331, 79%, 64%)
HSVhsv(331, 61%, 93%)
CMYKcmyk(0%, 61.4%, 31.4%, 7.5%)
CIE-LABlab(59.82, 62.46, -9.09)
CIE-LCHlch(59.82, 63.12, 351.72°)
OKLaboklab(67.88% 0.1902 -0.0233)
OKLCHoklch(67.88% 0.192 353)
XYZxyz(44.8570, 27.9284, 37.2038)
Luminance0.2792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BA2 #5BECA5
analogous
#EC5BEA #EC5BA2 #EC5D5B
triadic
#EC5BA2 #A2EC5B #5BA2EC
tetradic
#EC5BA2 #EAEC5B #5BECA5 #5D5BEC
square
#EC5BA2 #EAEC5B #5BECA5 #5D5BEC
split-complementary
#EC5BA2 #5BEC5D #5BEAEC
monochromatic
#B71565 #E62483 #EC5BA2 #F292C1 #F9C9E0

Accessibility & contrast

On white

3.19
#EC5BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#EC5BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5BA2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5BA2#FFFFFF#000000##000000
##EC5BA21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec5ba2;
/* rgb */ color: rgb(236, 91, 162);
/* oklch */ color: oklch(67.9% 0.192 353.0);
Tailwind
colors: {
  custom: {
    50: '#f691bd',
    500: '#ec5ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ec5ba2;
$custom-light: #f691bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5ba2",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 162
  },
  "hsl": {
    "h": 330.621,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6788,
    "c": 0.19165,
    "h": 353
  },
  "luminance": 0.27924
}

Semantic roles & 50–950 ramp

primary
#EC5BA2
secondary
#B8EBD2
accent
#DC750A
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC5BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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