#EC72AB#EC72AB

#EC72AB is a light, vivid pink. Relative luminance 0.328; OKLCH L 71.1% C 0.162 H 352.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#EC72AB
RGBrgb(236, 114, 171)
HSLhsl(332, 76%, 69%)
HSVhsv(332, 52%, 93%)
CMYKcmyk(0%, 51.7%, 27.5%, 7.5%)
CIE-LABlab(64.01, 53.20, -8.02)
CIE-LCHlch(64.01, 53.80, 351.43°)
OKLaboklab(71.09% 0.1609 -0.0206)
OKLCHoklch(71.09% 0.162 352.7)
XYZxyz(47.9619, 32.8121, 42.3276)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72AB #72ECB3
analogous
#EC72E8 #EC72AB #EC7672
triadic
#EC72AB #ABEC72 #72ABEC
tetradic
#EC72AB #E8EC72 #72ECB3 #7672EC
square
#EC72AB #E8EC72 #72ECB3 #7672EC
split-complementary
#EC72AB #72EC76 #72E8EC
monochromatic
#C91B6C #E53C8B #EC72AB #F3A8CB #FBDEEB

Accessibility & contrast

On white

2.78
#EC72AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#EC72AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72AB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72AB#FFFFFF#000000##000000
##EC72AB1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#828EAD
Deuteranopia (green-blind)
#A2A3A8
Tritanopia (blue-blind)
#FB6C87
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ec72ab;
/* rgb */ color: rgb(236, 114, 171);
/* oklch */ color: oklch(71.1% 0.162 352.7);
Tailwind
colors: {
  custom: {
    50: '#f59ec4',
    500: '#ec72ab',
    950: '#000000',
  },
}
SCSS
$custom: #ec72ab;
$custom-light: #f59ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72ab",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 171
  },
  "hsl": {
    "h": 331.967,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.16225,
    "h": 352.7
  },
  "luminance": 0.32808
}

Semantic roles & 50–950 ramp

primary
#EC72AB
secondary
#CBEFDE
accent
#D8790D
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#170F12
muted
#857F81

Preview Lab

Preview with #EC72AB

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

Preview Lab → · Contrast checker → · Palette generator →

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