#EC72C8#EC72C8

#EC72C8 is a light, vivid pink. Relative luminance 0.340; OKLCH L 72.2% C 0.180 H 340.0°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#EC72C8
RGBrgb(236, 114, 200)
HSLhsl(318, 76%, 69%)
HSVhsv(318, 52%, 93%)
CMYKcmyk(0%, 51.7%, 15.3%, 7.5%)
CIE-LABlab(65.00, 57.28, -22.96)
CIE-LCHlch(65.00, 61.71, 338.16°)
OKLaboklab(72.15% 0.1688 -0.0615)
OKLCHoklch(72.15% 0.18 340)
XYZxyz(51.0354, 34.0415, 58.5151)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72C8 #72EC96
analogous
#D372EC #EC72C8 #EC728B
triadic
#EC72C8 #C8EC72 #72C8EC
tetradic
#EC72C8 #ECD372 #72EC96 #728BEC
square
#EC72C8 #ECD372 #72EC96 #728BEC
split-complementary
#EC72C8 #8BEC72 #72ECD3
monochromatic
#C91B95 #E53CB3 #EC72C8 #F3A8DD #FBDEF2

Accessibility & contrast

On white

2.69
#EC72C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#EC72C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72C8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72C8#FFFFFF#000000##000000
##EC72C81.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CB
Deuteranopia (green-blind)
#9AA5C5
Tritanopia (blue-blind)
#F87494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec72c8;
/* rgb */ color: rgb(236, 114, 200);
/* oklch */ color: oklch(72.2% 0.180 340.0);
Tailwind
colors: {
  custom: {
    50: '#f59fd9',
    500: '#ec72c8',
    950: '#000000',
  },
}
SCSS
$custom: #ec72c8;
$custom-light: #f59fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72c8",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 317.705,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72151,
    "c": 0.17968,
    "h": 340
  },
  "luminance": 0.34038
}

Semantic roles & 50–950 ramp

primary
#EC72C8
secondary
#CBEFD5
accent
#D8490D
background
#FFFAFD
surface
#FFF3FA
border
#D7CDD3
text
#170F14
muted
#857F83

Preview Lab

Preview with #EC72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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