#EC72CE#EC72CE

#EC72CE is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.4% C 0.184 H 337.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#EC72CE
RGBrgb(236, 114, 206)
HSLhsl(315, 76%, 69%)
HSVhsv(315, 52%, 93%)
CMYKcmyk(0%, 51.7%, 12.7%, 7.5%)
CIE-LABlab(65.22, 58.19, -25.98)
CIE-LCHlch(65.22, 63.73, 335.94°)
OKLaboklab(72.39% 0.1702 -0.07)
OKLCHoklch(72.39% 0.184 337.6)
XYZxyz(51.7504, 34.3275, 62.2808)
Luminance0.3432 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72CE #72EC90
analogous
#CD72EC #EC72CE #EC7291
triadic
#EC72CE #CEEC72 #72CEEC
tetradic
#EC72CE #ECCD72 #72EC90 #7291EC
square
#EC72CE #ECCD72 #72EC90 #7291EC
split-complementary
#EC72CE #91EC72 #72ECCD
monochromatic
#C91B9E #E53CBB #EC72CE #F3A8E1 #FBDEF3

Accessibility & contrast

On white

2.67
#EC72CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#EC72CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72CE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72CE#FFFFFF#000000##000000
##EC72CE1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D1
Deuteranopia (green-blind)
#98A5CB
Tritanopia (blue-blind)
#F77697
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec72ce;
/* rgb */ color: rgb(236, 114, 206);
/* oklch */ color: oklch(72.4% 0.184 337.6);
Tailwind
colors: {
  custom: {
    50: '#f59fdd',
    500: '#ec72ce',
    950: '#000000',
  },
}
SCSS
$custom: #ec72ce;
$custom-light: #f59fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72ce",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 314.754,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72393,
    "c": 0.18401,
    "h": 337.6
  },
  "luminance": 0.34324
}

Semantic roles & 50–950 ramp

primary
#EC72CE
secondary
#CBEFD4
accent
#D83F0D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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