#EC72A6#EC72A6

#EC72A6 is a light, vivid pink. Relative luminance 0.326; OKLCH L 70.9% C 0.160 H 355.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#EC72A6
RGBrgb(236, 114, 166)
HSLhsl(334, 76%, 69%)
HSVhsv(334, 52%, 93%)
CMYKcmyk(0%, 51.7%, 29.7%, 7.5%)
CIE-LABlab(63.86, 52.56, -5.40)
CIE-LCHlch(63.86, 52.84, 354.14°)
OKLaboklab(70.93% 0.1594 -0.0135)
OKLCHoklch(70.93% 0.16 355.1)
XYZxyz(47.4943, 32.6250, 39.8649)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72A6 #72ECB8
analogous
#EC72E3 #EC72A6 #EC7B72
triadic
#EC72A6 #A6EC72 #72A6EC
tetradic
#EC72A6 #E3EC72 #72ECB8 #7B72EC
square
#EC72A6 #E3EC72 #72ECB8 #7B72EC
split-complementary
#EC72A6 #72EC7B #72E3EC
monochromatic
#C91B65 #E53C84 #EC72A6 #F3A8C8 #FBDEEA

Accessibility & contrast

On white

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

On black

7.52
#EC72A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72A6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72A6#FFFFFF#000000##000000
##EC72A61.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838DA8
Deuteranopia (green-blind)
#A3A3A3
Tritanopia (blue-blind)
#FC6B85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec72a6;
/* rgb */ color: rgb(236, 114, 166);
/* oklch */ color: oklch(70.9% 0.160 355.1);
Tailwind
colors: {
  custom: {
    50: '#f59ec0',
    500: '#ec72a6',
    950: '#000000',
  },
}
SCSS
$custom: #ec72a6;
$custom-light: #f59ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72a6",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 166
  },
  "hsl": {
    "h": 334.426,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70925,
    "c": 0.15995,
    "h": 355.1
  },
  "luminance": 0.32621
}

Semantic roles & 50–950 ramp

primary
#EC72A6
secondary
#CBEFE0
accent
#D8820D
background
#FFFAFB
surface
#FFF3F7
border
#D7CDD0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC72A6

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

Preview Lab → · Contrast checker → · Palette generator →

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