#EC4982#EC4982

#EC4982 is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 65.0% C 0.203 H 3.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#EC4982
RGBrgb(236, 73, 130)
HSLhsl(339, 81%, 61%)
HSVhsv(339, 69%, 93%)
CMYKcmyk(0%, 69.1%, 44.9%, 7.5%)
CIE-LABlab(56.30, 66.17, 4.47)
CIE-LCHlch(56.30, 66.32, 3.87°)
OKLaboklab(64.96% 0.2024 0.0122)
OKLCHoklch(64.96% 0.203 3.5)
XYZxyz(41.0071, 24.2149, 23.6293)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4982 #49ECB3
analogous
#EC49D4 #EC4982 #EC6149
triadic
#EC4982 #82EC49 #4982EC
tetradic
#EC4982 #D4EC49 #49ECB3 #6149EC
square
#EC4982 #D4EC49 #49ECB3 #6149EC
split-complementary
#EC4982 #49EC61 #49D4EC
monochromatic
#A91247 #E0175E #EC4982 #F280A8 #F8B8CE

Accessibility & contrast

On white

3.59
#EC4982 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#EC4982 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4982
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4982#FFFFFF#000000##000000
##EC49821.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7383
Deuteranopia (green-blind)
#98937E
Tritanopia (blue-blind)
#FF3060
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ec4982;
/* rgb */ color: rgb(236, 73, 130);
/* oklch */ color: oklch(65.0% 0.203 3.5);
Tailwind
colors: {
  custom: {
    50: '#f887a6',
    500: '#ec4982',
    950: '#000000',
  },
}
SCSS
$custom: #ec4982;
$custom-light: #f887a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4982",
  "rgb": {
    "r": 236,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 339.018,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.64963,
    "c": 0.20274,
    "h": 3.5
  },
  "luminance": 0.2421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC4982

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

Preview Lab → · Contrast checker → · Palette generator →

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