#EC4872#EC4872

#EC4872 is a light, highly saturated pink. Relative luminance 0.237; OKLCH L 64.4% C 0.201 H 9.7°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#EC4872
RGBrgb(236, 72, 114)
HSLhsl(345, 81%, 60%)
HSVhsv(345, 69%, 93%)
CMYKcmyk(0%, 69.5%, 51.7%, 7.5%)
CIE-LABlab(55.77, 65.17, 13.21)
CIE-LCHlch(55.77, 66.49, 11.46°)
OKLaboklab(64.44% 0.1978 0.0337)
OKLCHoklch(64.44% 0.201 9.7)
XYZxyz(39.9502, 23.6879, 18.3848)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC4872 #48ECC2
analogous
#EC48C4 #EC4872 #EC7048
triadic
#EC4872 #72EC48 #4872EC
tetradic
#EC4872 #C4EC48 #48ECC2 #7048EC
square
#EC4872 #C4EC48 #48ECC2 #7048EC
split-complementary
#EC4872 #48EC70 #48C4EC
monochromatic
#A81138 #E0174B #EC4872 #F27F9D #F8B7C7

Accessibility & contrast

On white

3.66
#EC4872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#EC4872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #EC4872
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC4872#FFFFFF#000000##000000
##EC48721.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#707173
Deuteranopia (green-blind)
#9B926E
Tritanopia (blue-blind)
#FF2659
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ec4872;
/* rgb */ color: rgb(236, 72, 114);
/* oklch */ color: oklch(64.4% 0.201 9.7);
Tailwind
colors: {
  custom: {
    50: '#f9869a',
    500: '#ec4872',
    950: '#000000',
  },
}
SCSS
$custom: #ec4872;
$custom-light: #f9869a;
$custom-dark: #000000;
JSON
{
  "hex": "#ec4872",
  "rgb": {
    "r": 236,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 344.634,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64442,
    "c": 0.20068,
    "h": 9.7
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#EC4872
secondary
#A9E7D7
accent
#DEA708
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#190C0E
muted
#877D7E

Preview Lab

Preview with #EC4872

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

Preview Lab → · Contrast checker → · Palette generator →

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