#EC72D3#EC72D3

#EC72D3 is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.6% C 0.188 H 335.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#EC72D3
RGBrgb(236, 114, 211)
HSLhsl(312, 76%, 69%)
HSVhsv(312, 52%, 93%)
CMYKcmyk(0%, 51.7%, 10.6%, 7.5%)
CIE-LABlab(65.42, 58.97, -28.49)
CIE-LCHlch(65.42, 65.49, 334.22°)
OKLaboklab(72.6% 0.1712 -0.0771)
OKLCHoklch(72.6% 0.188 335.8)
XYZxyz(52.3675, 34.5743, 65.5307)
Luminance0.3457 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72D3 #72EC8B
analogous
#C872EC #EC72D3 #EC7296
triadic
#EC72D3 #D3EC72 #72D3EC
tetradic
#EC72D3 #ECC872 #72EC8B #7296EC
square
#EC72D3 #ECC872 #72EC8B #7296EC
split-complementary
#EC72D3 #96EC72 #72ECC8
monochromatic
#C91BA5 #E53CC2 #EC72D3 #F3A8E4 #FBDEF5

Accessibility & contrast

On white

2.65
#EC72D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#EC72D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72D3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72D3#FFFFFF#000000##000000
##EC72D31.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D6
Deuteranopia (green-blind)
#96A6D0
Tritanopia (blue-blind)
#F67899
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ec72d3;
/* rgb */ color: rgb(236, 114, 211);
/* oklch */ color: oklch(72.6% 0.188 335.8);
Tailwind
colors: {
  custom: {
    50: '#f59fe0',
    500: '#ec72d3',
    950: '#000000',
  },
}
SCSS
$custom: #ec72d3;
$custom-light: #f59fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72d3",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 211
  },
  "hsl": {
    "h": 312.295,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.18776,
    "h": 335.8
  },
  "luminance": 0.34571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC72D3

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

Preview Lab → · Contrast checker → · Palette generator →

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