#EC72D7#EC72D7

#EC72D7 is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.8% C 0.191 H 334.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#EC72D7
RGBrgb(236, 114, 215)
HSLhsl(310, 76%, 69%)
HSVhsv(310, 52%, 93%)
CMYKcmyk(0%, 51.7%, 8.9%, 7.5%)
CIE-LABlab(65.58, 59.60, -30.48)
CIE-LCHlch(65.58, 66.94, 332.92°)
OKLaboklab(72.77% 0.172 -0.0827)
OKLCHoklch(72.77% 0.191 334.3)
XYZxyz(52.8752, 34.7774, 68.2046)
Luminance0.3477 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72D7 #72EC87
analogous
#C472EC #EC72D7 #EC729A
triadic
#EC72D7 #D7EC72 #72D7EC
tetradic
#EC72D7 #ECC472 #72EC87 #729AEC
square
#EC72D7 #ECC472 #72EC87 #729AEC
split-complementary
#EC72D7 #9AEC72 #72ECC4
monochromatic
#C91BAB #E53CC8 #EC72D7 #F3A8E6 #FBDEF6

Accessibility & contrast

On white

2.64
#EC72D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#EC72D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72D7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72D7#FFFFFF#000000##000000
##EC72D71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DA
Deuteranopia (green-blind)
#94A6D4
Tritanopia (blue-blind)
#F6799B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec72d7;
/* rgb */ color: rgb(236, 114, 215);
/* oklch */ color: oklch(72.8% 0.191 334.3);
Tailwind
colors: {
  custom: {
    50: '#f59fe3',
    500: '#ec72d7',
    950: '#000000',
  },
}
SCSS
$custom: #ec72d7;
$custom-light: #f59fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72d7",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 215
  },
  "hsl": {
    "h": 310.328,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72771,
    "c": 0.19085,
    "h": 334.3
  },
  "luminance": 0.34774
}

Semantic roles & 50–950 ramp

primary
#EC72D7
secondary
#CBEFD1
accent
#D8300D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC72D7

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

Preview Lab → · Contrast checker → · Palette generator →

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