#EC72CF#EC72CF

#EC72CF is a light, vivid pink. Relative luminance 0.344; OKLCH L 72.4% C 0.185 H 337.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#EC72CF
RGBrgb(236, 114, 207)
HSLhsl(314, 76%, 69%)
HSVhsv(314, 52%, 93%)
CMYKcmyk(0%, 51.7%, 12.3%, 7.5%)
CIE-LABlab(65.26, 58.34, -26.49)
CIE-LCHlch(65.26, 64.07, 335.58°)
OKLaboklab(72.43% 0.1704 -0.0714)
OKLCHoklch(72.43% 0.185 337.3)
XYZxyz(51.8723, 34.3762, 62.9226)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72CF #72EC8F
analogous
#CC72EC #EC72CF #EC7292
triadic
#EC72CF #CFEC72 #72CFEC
tetradic
#EC72CF #ECCC72 #72EC8F #7292EC
square
#EC72CF #ECCC72 #72EC8F #7292EC
split-complementary
#EC72CF #92EC72 #72ECCC
monochromatic
#C91B9F #E53CBD #EC72CF #F3A8E1 #FBDEF4

Accessibility & contrast

On white

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

On black

7.87
#EC72CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72CF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72CF#FFFFFF#000000##000000
##EC72CF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7593D2
Deuteranopia (green-blind)
#97A5CC
Tritanopia (blue-blind)
#F77797
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec72cf;
/* rgb */ color: rgb(236, 114, 207);
/* oklch */ color: oklch(72.4% 0.185 337.3);
Tailwind
colors: {
  custom: {
    50: '#f59fde',
    500: '#ec72cf',
    950: '#000000',
  },
}
SCSS
$custom: #ec72cf;
$custom-light: #f59fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72cf",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 314.262,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72434,
    "c": 0.18475,
    "h": 337.3
  },
  "luminance": 0.34372
}

Semantic roles & 50–950 ramp

primary
#EC72CF
secondary
#CBEFD3
accent
#D83D0D
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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