#EC4BA1#EC4BA1

#EC4BA1 is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.2% C 0.212 H 351.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#EC4BA1
RGBrgb(236, 75, 161)
HSLhsl(328, 81%, 61%)
HSVhsv(328, 68%, 93%)
CMYKcmyk(0%, 68.2%, 31.8%, 7.5%)
CIE-LABlab(57.50, 68.62, -11.98)
CIE-LCHlch(57.50, 69.66, 350.09°)
OKLaboklab(66.16% 0.2095 -0.031)
OKLCHoklch(66.16% 0.212 351.6)
XYZxyz(43.5435, 25.4431, 36.3292)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4BA1 #4BEC96
analogous
#E64BEC #EC4BA1 #EC4B50
triadic
#EC4BA1 #A1EC4B #4BA1EC
tetradic
#EC4BA1 #ECE64B #4BEC96 #4B50EC
square
#EC4BA1 #ECE64B #4BEC96 #4B50EC
split-complementary
#EC4BA1 #50EC4B #4BECE6
monochromatic
#AB1264 #E21884 #EC4BA1 #F282BE #F8BADB

Accessibility & contrast

On white

3.45
#EC4BA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#EC4BA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4BA1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4BA1#FFFFFF#000000##000000
##EC4BA11.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A3
Deuteranopia (green-blind)
#92959D
Tritanopia (blue-blind)
#FD4170
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ec4ba1;
/* rgb */ color: rgb(236, 75, 161);
/* oklch */ color: oklch(66.2% 0.212 351.6);
Tailwind
colors: {
  custom: {
    50: '#f788bc',
    500: '#ec4ba1',
    950: '#000000',
  },
}
SCSS
$custom: #ec4ba1;
$custom-light: #f788bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4ba1",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 161
  },
  "hsl": {
    "h": 327.95,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66158,
    "c": 0.21182,
    "h": 351.6
  },
  "luminance": 0.25438
}

Semantic roles & 50–950 ramp

primary
#EC4BA1
secondary
#ABE8C7
accent
#DD6B08
background
#FFF8FB
surface
#FFF0F6
border
#D7CBD0
text
#180C12
muted
#867D81

Preview Lab

Preview with #EC4BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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