#EC5BAB#EC5BAB

#EC5BAB is a light, vivid pink. Relative luminance 0.283; OKLCH L 68.2% C 0.196 H 349.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#EC5BAB
RGBrgb(236, 91, 171)
HSLhsl(327, 79%, 64%)
HSVhsv(327, 61%, 93%)
CMYKcmyk(0%, 61.4%, 27.5%, 7.5%)
CIE-LABlab(60.12, 63.55, -13.84)
CIE-LCHlch(60.12, 65.04, 347.71°)
OKLaboklab(68.2% 0.1927 -0.0362)
OKLCHoklch(68.2% 0.196 349.4)
XYZxyz(45.6858, 28.2599, 41.5689)
Luminance0.2826 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC5BAB #5BEC9C
analogous
#E55BEC #EC5BAB #EC5B63
triadic
#EC5BAB #ABEC5B #5BABEC
tetradic
#EC5BAB #ECE55B #5BEC9C #5B63EC
square
#EC5BAB #ECE55B #5BEC9C #5B63EC
split-complementary
#EC5BAB #63EC5B #5BECE5
monochromatic
#B7156F #E6248F #EC5BAB #F292C7 #F9C9E3

Accessibility & contrast

On white

3.16
#EC5BAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#EC5BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC5BAB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC5BAB#FFFFFF#000000##000000
##EC5BAB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AD
Deuteranopia (green-blind)
#969AA8
Tritanopia (blue-blind)
#FC557C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ec5bab;
/* rgb */ color: rgb(236, 91, 171);
/* oklch */ color: oklch(68.2% 0.196 349.4);
Tailwind
colors: {
  custom: {
    50: '#f691c4',
    500: '#ec5bab',
    950: '#000000',
  },
}
SCSS
$custom: #ec5bab;
$custom-light: #f691c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec5bab",
  "rgb": {
    "r": 236,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 326.897,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68199,
    "c": 0.19608,
    "h": 349.4
  },
  "luminance": 0.28255
}

Semantic roles & 50–950 ramp

primary
#EC5BAB
secondary
#B8EBCF
accent
#DC680A
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D12
muted
#867E81

Preview Lab

Preview with #EC5BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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