#EC4879#EC4879

#EC4879 is a light, highly saturated pink. Relative luminance 0.238; OKLCH L 64.6% C 0.202 H 6.9°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#EC4879
RGBrgb(236, 72, 121)
HSLhsl(342, 81%, 60%)
HSVhsv(342, 69%, 93%)
CMYKcmyk(0%, 69.5%, 48.7%, 7.5%)
CIE-LABlab(55.94, 65.74, 9.29)
CIE-LCHlch(55.94, 66.39, 8.04°)
OKLaboklab(64.62% 0.2004 0.0242)
OKLCHoklch(64.62% 0.202 6.9)
XYZxyz(40.3640, 23.8534, 20.5641)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4879 #48ECBB
analogous
#EC48CB #EC4879 #EC6948
triadic
#EC4879 #79EC48 #4879EC
tetradic
#EC4879 #CBEC48 #48ECBB #6948EC
square
#EC4879 #CBEC48 #48ECBB #6948EC
split-complementary
#EC4879 #48EC69 #48CBEC
monochromatic
#A8113E #E01753 #EC4879 #F27FA2 #F8B7CA

Accessibility & contrast

On white

3.64
#EC4879 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#EC4879 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4879
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4879#FFFFFF#000000##000000
##EC48791.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E717A
Deuteranopia (green-blind)
#999275
Tritanopia (blue-blind)
#FF2A5C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ec4879;
/* rgb */ color: rgb(236, 72, 121);
/* oklch */ color: oklch(64.6% 0.202 6.9);
Tailwind
colors: {
  custom: {
    50: '#f8869f',
    500: '#ec4879',
    950: '#000000',
  },
}
SCSS
$custom: #ec4879;
$custom-light: #f8869f;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4879",
  "rgb": {
    "r": 236,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 342.073,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.20183,
    "h": 6.9
  },
  "luminance": 0.23848
}

Semantic roles & 50–950 ramp

primary
#EC4879
secondary
#A9E7D5
accent
#DE9E08
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#180C0E
muted
#867D7E

Preview Lab

Preview with #EC4879

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

Preview Lab → · Contrast checker → · Palette generator →

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