#EC4BA6#EC4BA6

#EC4BA6 is a light, highly saturated pink. Relative luminance 0.256; OKLCH L 66.3% C 0.214 H 349.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#EC4BA6
RGBrgb(236, 75, 166)
HSLhsl(326, 81%, 61%)
HSVhsv(326, 68%, 93%)
CMYKcmyk(0%, 68.2%, 29.7%, 7.5%)
CIE-LABlab(57.68, 69.19, -14.64)
CIE-LCHlch(57.68, 70.73, 348.06°)
OKLaboklab(66.34% 0.2108 -0.0382)
OKLCHoklch(66.34% 0.214 349.7)
XYZxyz(43.9933, 25.6230, 38.6979)
Luminance0.2562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4BA6 #4BEC91
analogous
#E24BEC #EC4BA6 #EC4B55
triadic
#EC4BA6 #A6EC4B #4BA6EC
tetradic
#EC4BA6 #ECE24B #4BEC91 #4B55EC
square
#EC4BA6 #ECE24B #4BEC91 #4B55EC
split-complementary
#EC4BA6 #55EC4B #4BECE2
monochromatic
#AB1268 #E2188A #EC4BA6 #F282C1 #F8BADD

Accessibility & contrast

On white

3.43
#EC4BA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#EC4BA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4BA6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4BA6#FFFFFF#000000##000000
##EC4BA61.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6378A9
Deuteranopia (green-blind)
#9195A2
Tritanopia (blue-blind)
#FD4372
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ec4ba6;
/* rgb */ color: rgb(236, 75, 166);
/* oklch */ color: oklch(66.3% 0.214 349.7);
Tailwind
colors: {
  custom: {
    50: '#f789c0',
    500: '#ec4ba6',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ba6;
$custom-light: #f789c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ba6",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 166
  },
  "hsl": {
    "h": 326.087,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66341,
    "c": 0.21426,
    "h": 349.7
  },
  "luminance": 0.25618
}

Semantic roles & 50–950 ramp

primary
#EC4BA6
secondary
#ABE8C5
accent
#DD6508
background
#FFF8FB
surface
#FFF0F7
border
#D7CBD0
text
#180C12
muted
#867D81

Preview Lab

Preview with #EC4BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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