#EC72D2#EC72D2

#EC72D2 is a light, vivid pink. Relative luminance 0.345; OKLCH L 72.6% C 0.187 H 336.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#EC72D2
RGBrgb(236, 114, 210)
HSLhsl(313, 76%, 69%)
HSVhsv(313, 52%, 93%)
CMYKcmyk(0%, 51.7%, 11%, 7.5%)
CIE-LABlab(65.38, 58.81, -27.99)
CIE-LCHlch(65.38, 65.13, 334.55°)
OKLaboklab(72.56% 0.171 -0.0756)
OKLCHoklch(72.56% 0.187 336.1)
XYZxyz(52.2425, 34.5243, 64.8725)
Luminance0.3452 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72D2 #72EC8C
analogous
#C972EC #EC72D2 #EC7295
triadic
#EC72D2 #D2EC72 #72D2EC
tetradic
#EC72D2 #ECC972 #72EC8C #7295EC
square
#EC72D2 #ECC972 #72EC8C #7295EC
split-complementary
#EC72D2 #95EC72 #72ECC9
monochromatic
#C91BA4 #E53CC1 #EC72D2 #F3A8E3 #FBDEF4

Accessibility & contrast

On white

2.66
#EC72D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#EC72D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72D2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72D2#FFFFFF#000000##000000
##EC72D21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#F67798
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec72d2;
/* rgb */ color: rgb(236, 114, 210);
/* oklch */ color: oklch(72.6% 0.187 336.1);
Tailwind
colors: {
  custom: {
    50: '#f59fe0',
    500: '#ec72d2',
    950: '#000000',
  },
}
SCSS
$custom: #ec72d2;
$custom-light: #f59fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72d2",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 312.787,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72559,
    "c": 0.187,
    "h": 336.1
  },
  "luminance": 0.34521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC72D2

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

Preview Lab → · Contrast checker → · Palette generator →

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