#EC72D5#EC72D5

#EC72D5 is a light, vivid pink. Relative luminance 0.347; OKLCH L 72.7% C 0.189 H 335.0°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#EC72D5
RGBrgb(236, 114, 213)
HSLhsl(311, 76%, 69%)
HSVhsv(311, 52%, 93%)
CMYKcmyk(0%, 51.7%, 9.7%, 7.5%)
CIE-LABlab(65.50, 59.29, -29.48)
CIE-LCHlch(65.50, 66.21, 333.56°)
OKLaboklab(72.69% 0.1716 -0.0799)
OKLCHoklch(72.69% 0.189 335)
XYZxyz(52.6198, 34.6752, 66.8594)
Luminance0.3467 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72D5 #72EC89
analogous
#C672EC #EC72D5 #EC7298
triadic
#EC72D5 #D5EC72 #72D5EC
tetradic
#EC72D5 #ECC672 #72EC89 #7298EC
square
#EC72D5 #ECC672 #72EC89 #7298EC
split-complementary
#EC72D5 #98EC72 #72ECC6
monochromatic
#C91BA8 #E53CC5 #EC72D5 #F3A8E5 #FBDEF5

Accessibility & contrast

On white

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

On black

7.93
#EC72D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72D5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72D5#FFFFFF#000000##000000
##EC72D51.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7294D8
Deuteranopia (green-blind)
#95A6D2
Tritanopia (blue-blind)
#F6789A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec72d5;
/* rgb */ color: rgb(236, 114, 213);
/* oklch */ color: oklch(72.7% 0.189 335.0);
Tailwind
colors: {
  custom: {
    50: '#f59fe2',
    500: '#ec72d5',
    950: '#000000',
  },
}
SCSS
$custom: #ec72d5;
$custom-light: #f59fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72d5",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 213
  },
  "hsl": {
    "h": 311.311,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72685,
    "c": 0.1893,
    "h": 335
  },
  "luminance": 0.34672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC72D5

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

Preview Lab → · Contrast checker → · Palette generator →

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