#EC72A2#EC72A2

#EC72A2 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.8% C 0.158 H 357.1°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#EC72A2
RGBrgb(236, 114, 162)
HSLhsl(336, 76%, 69%)
HSVhsv(336, 52%, 93%)
CMYKcmyk(0%, 51.7%, 31.4%, 7.5%)
CIE-LABlab(63.74, 52.06, -3.29)
CIE-LCHlch(63.74, 52.17, 356.39°)
OKLaboklab(70.8% 0.1581 -0.008)
OKLCHoklch(70.8% 0.158 357.1)
XYZxyz(47.1330, 32.4805, 37.9625)
Luminance0.3248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72A2 #72ECBC
analogous
#EC72DF #EC72A2 #EC7F72
triadic
#EC72A2 #A2EC72 #72A2EC
tetradic
#EC72A2 #DFEC72 #72ECBC #7F72EC
square
#EC72A2 #DFEC72 #72ECBC #7F72EC
split-complementary
#EC72A2 #72EC7F #72DFEC
monochromatic
#C91B5F #E53C7E #EC72A2 #F3A8C6 #FBDEE9

Accessibility & contrast

On white

2.80
#EC72A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#EC72A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72A2
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72A2#FFFFFF#000000##000000
##EC72A21.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#848CA4
Deuteranopia (green-blind)
#A4A39F
Tritanopia (blue-blind)
#FC6A84
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ec72a2;
/* rgb */ color: rgb(236, 114, 162);
/* oklch */ color: oklch(70.8% 0.158 357.1);
Tailwind
colors: {
  custom: {
    50: '#f59ebd',
    500: '#ec72a2',
    950: '#000000',
  },
}
SCSS
$custom: #ec72a2;
$custom-light: #f59ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72a2",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 336.393,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70798,
    "c": 0.15828,
    "h": 357.1
  },
  "luminance": 0.32476
}

Semantic roles & 50–950 ramp

primary
#EC72A2
secondary
#CBEFE1
accent
#D8880D
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC72A2

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

Preview Lab → · Contrast checker → · Palette generator →

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