#EC72D4#EC72D4

#EC72D4 is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.6% C 0.189 H 335.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#EC72D4
RGBrgb(236, 114, 212)
HSLhsl(312, 76%, 69%)
HSVhsv(312, 52%, 93%)
CMYKcmyk(0%, 51.7%, 10.2%, 7.5%)
CIE-LABlab(65.46, 59.13, -28.99)
CIE-LCHlch(65.46, 65.85, 333.88°)
OKLaboklab(72.64% 0.1714 -0.0785)
OKLCHoklch(72.64% 0.189 335.4)
XYZxyz(52.4933, 34.6246, 66.1930)
Luminance0.3462 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72D4 #72EC8A
analogous
#C772EC #EC72D4 #EC7297
triadic
#EC72D4 #D4EC72 #72D4EC
tetradic
#EC72D4 #ECC772 #72EC8A #7297EC
square
#EC72D4 #ECC772 #72EC8A #7297EC
split-complementary
#EC72D4 #97EC72 #72ECC7
monochromatic
#C91BA6 #E53CC4 #EC72D4 #F3A8E4 #FBDEF5

Accessibility & contrast

On white

2.65
#EC72D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#EC72D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72D4
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72D4#FFFFFF#000000##000000
##EC72D41.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D7
Deuteranopia (green-blind)
#96A6D1
Tritanopia (blue-blind)
#F67899
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec72d4;
/* rgb */ color: rgb(236, 114, 212);
/* oklch */ color: oklch(72.6% 0.189 335.4);
Tailwind
colors: {
  custom: {
    50: '#f59fe1',
    500: '#ec72d4',
    950: '#000000',
  },
}
SCSS
$custom: #ec72d4;
$custom-light: #f59fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72d4",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 212
  },
  "hsl": {
    "h": 311.803,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72643,
    "c": 0.18853,
    "h": 335.4
  },
  "luminance": 0.34621
}

Semantic roles & 50–950 ramp

primary
#EC72D4
secondary
#CBEFD2
accent
#D8350D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC72D4

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

Preview Lab → · Contrast checker → · Palette generator →

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