#EC72A7#EC72A7

#EC72A7 is a light, vivid pink. Relative luminance 0.327; OKLCH L 71.0% C 0.160 H 354.7°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#EC72A7
RGBrgb(236, 114, 167)
HSLhsl(334, 76%, 69%)
HSVhsv(334, 52%, 93%)
CMYKcmyk(0%, 51.7%, 29.2%, 7.5%)
CIE-LABlab(63.89, 52.69, -5.92)
CIE-LCHlch(63.89, 53.02, 353.59°)
OKLaboklab(70.96% 0.1597 -0.0149)
OKLCHoklch(70.96% 0.16 354.7)
XYZxyz(47.5863, 32.6619, 40.3499)
Luminance0.3266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72A7 #72ECB7
analogous
#EC72E4 #EC72A7 #EC7A72
triadic
#EC72A7 #A7EC72 #72A7EC
tetradic
#EC72A7 #E4EC72 #72ECB7 #7A72EC
square
#EC72A7 #E4EC72 #72ECB7 #7A72EC
split-complementary
#EC72A7 #72EC7A #72E4EC
monochromatic
#C91B66 #E53C85 #EC72A7 #F3A8C9 #FBDEEA

Accessibility & contrast

On white

2.79
#EC72A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#EC72A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72A7
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72A7#FFFFFF#000000##000000
##EC72A71.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA9
Deuteranopia (green-blind)
#A3A3A4
Tritanopia (blue-blind)
#FC6B86
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec72a7;
/* rgb */ color: rgb(236, 114, 167);
/* oklch */ color: oklch(71.0% 0.160 354.7);
Tailwind
colors: {
  custom: {
    50: '#f59ec1',
    500: '#ec72a7',
    950: '#000000',
  },
}
SCSS
$custom: #ec72a7;
$custom-light: #f59ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72a7",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 167
  },
  "hsl": {
    "h": 333.934,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70958,
    "c": 0.16039,
    "h": 354.7
  },
  "luminance": 0.32658
}

Semantic roles & 50–950 ramp

primary
#EC72A7
secondary
#CBEFDF
accent
#D8800D
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC72A7

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

Preview Lab → · Contrast checker → · Palette generator →

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