#EC4B8A#EC4B8A

#EC4B8A is a light, highly saturated pink. Relative luminance 0.247; OKLCH L 65.4% C 0.203 H 0.5°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#EC4B8A
RGBrgb(236, 75, 138)
HSLhsl(337, 81%, 61%)
HSVhsv(337, 68%, 93%)
CMYKcmyk(0%, 68.2%, 41.5%, 7.5%)
CIE-LABlab(56.79, 66.19, 0.45)
CIE-LCHlch(56.79, 66.19, 0.39°)
OKLaboklab(65.39% 0.2027 0.0019)
OKLCHoklch(65.39% 0.203 0.5)
XYZxyz(41.6986, 24.7051, 26.6125)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4B8A #4BECAD
analogous
#EC4BDA #EC4B8A #EC5C4B
triadic
#EC4B8A #8AEC4B #4B8AEC
tetradic
#EC4B8A #DAEC4B #4BECAD #5C4BEC
square
#EC4B8A #DAEC4B #4BECAD #5C4BEC
split-complementary
#EC4B8A #4BEC5C #4BDAEC
monochromatic
#AB124E #E21867 #EC4B8A #F282AE #F8BAD2

Accessibility & contrast

On white

3.54
#EC4B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#EC4B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4B8A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4B8A#FFFFFF#000000##000000
##EC4B8A1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C758C
Deuteranopia (green-blind)
#979486
Tritanopia (blue-blind)
#FF3665
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ec4b8a;
/* rgb */ color: rgb(236, 75, 138);
/* oklch */ color: oklch(65.4% 0.203 0.5);
Tailwind
colors: {
  custom: {
    50: '#f788ac',
    500: '#ec4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ec4b8a;
$custom-light: #f788ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4b8a",
  "rgb": {
    "r": 236,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 336.522,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.20273,
    "h": 0.5
  },
  "luminance": 0.247
}

Semantic roles & 50–950 ramp

primary
#EC4B8A
secondary
#ABE8D0
accent
#DD8A08
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C10
muted
#867D7F

Preview Lab

Preview with #EC4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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