#EC4986#EC4986

#EC4986 is a light, highly saturated pink. Relative luminance 0.243; OKLCH L 65.1% C 0.204 H 1.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#EC4986
RGBrgb(236, 73, 134)
HSLhsl(338, 81%, 61%)
HSVhsv(338, 69%, 93%)
CMYKcmyk(0%, 69.1%, 43.2%, 7.5%)
CIE-LABlab(56.41, 66.53, 2.26)
CIE-LCHlch(56.41, 66.57, 1.95°)
OKLaboklab(65.08% 0.2037 0.0066)
OKLCHoklch(65.08% 0.204 1.9)
XYZxyz(41.2808, 24.3244, 25.0709)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4986 #49ECAF
analogous
#EC49D8 #EC4986 #EC5D49
triadic
#EC4986 #86EC49 #4986EC
tetradic
#EC4986 #D8EC49 #49ECAF #5D49EC
square
#EC4986 #D8EC49 #49ECAF #5D49EC
split-complementary
#EC4986 #49EC5D #49D8EC
monochromatic
#A9124A #E01763 #EC4986 #F280AB #F8B8D0

Accessibility & contrast

On white

3.58
#EC4986 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#EC4986 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4986
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4986#FFFFFF#000000##000000
##EC49861.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7388
Deuteranopia (green-blind)
#979382
Tritanopia (blue-blind)
#FF3262
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec4986;
/* rgb */ color: rgb(236, 73, 134);
/* oklch */ color: oklch(65.1% 0.204 1.9);
Tailwind
colors: {
  custom: {
    50: '#f887a9',
    500: '#ec4986',
    950: '#000000',
  },
}
SCSS
$custom: #ec4986;
$custom-light: #f887a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4986",
  "rgb": {
    "r": 236,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 337.546,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.20384,
    "h": 1.9
  },
  "luminance": 0.24319
}

Semantic roles & 50–950 ramp

primary
#EC4986
secondary
#A9E7D0
accent
#DD8E08
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C0F
muted
#867D7F

Preview Lab

Preview with #EC4986

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

Preview Lab → · Contrast checker → · Palette generator →

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