#EC4980#EC4980

#EC4980 is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 64.9% C 0.202 H 4.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#EC4980
RGBrgb(236, 73, 128)
HSLhsl(340, 81%, 61%)
HSVhsv(340, 69%, 93%)
CMYKcmyk(0%, 69.1%, 45.8%, 7.5%)
CIE-LABlab(56.25, 65.98, 5.58)
CIE-LCHlch(56.25, 66.22, 4.83°)
OKLaboklab(64.91% 0.2017 0.015)
OKLCHoklch(64.91% 0.202 4.3)
XYZxyz(40.8741, 24.1617, 22.9292)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4980 #49ECB5
analogous
#EC49D1 #EC4980 #EC6349
triadic
#EC4980 #80EC49 #4980EC
tetradic
#EC4980 #D1EC49 #49ECB5 #6349EC
square
#EC4980 #D1EC49 #49ECB5 #6349EC
split-complementary
#EC4980 #49EC63 #49D1EC
monochromatic
#A91245 #E0175B #EC4980 #F280A7 #F8B8CD

Accessibility & contrast

On white

3.60
#EC4980 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#EC4980 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4980
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4980#FFFFFF#000000##000000
##EC49801.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7281
Deuteranopia (green-blind)
#98937C
Tritanopia (blue-blind)
#FF2F5F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec4980;
/* rgb */ color: rgb(236, 73, 128);
/* oklch */ color: oklch(64.9% 0.202 4.3);
Tailwind
colors: {
  custom: {
    50: '#f887a4',
    500: '#ec4980',
    950: '#000000',
  },
}
SCSS
$custom: #ec4980;
$custom-light: #f887a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4980",
  "rgb": {
    "r": 236,
    "g": 73,
    "b": 128
  },
  "hsl": {
    "h": 339.755,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64907,
    "c": 0.20225,
    "h": 4.3
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

primary
#EC4980
secondary
#A9E7D2
accent
#DD9508
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#180C0F
muted
#867D7F

Preview Lab

Preview with #EC4980

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

Preview Lab → · Contrast checker → · Palette generator →

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