#EC72CB#EC72CB

#EC72CB is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.3% C 0.182 H 338.8°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#EC72CB
RGBrgb(236, 114, 203)
HSLhsl(316, 76%, 69%)
HSVhsv(316, 52%, 93%)
CMYKcmyk(0%, 51.7%, 14%, 7.5%)
CIE-LABlab(65.11, 57.73, -24.47)
CIE-LCHlch(65.11, 62.70, 337.03°)
OKLaboklab(72.27% 0.1695 -0.0658)
OKLCHoklch(72.27% 0.182 338.8)
XYZxyz(51.3895, 34.1831, 60.3797)
Luminance0.3418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC72CB #72EC93
analogous
#D072EC #EC72CB #EC728E
triadic
#EC72CB #CBEC72 #72CBEC
tetradic
#EC72CB #ECD072 #72EC93 #728EEC
square
#EC72CB #ECD072 #72EC93 #728EEC
split-complementary
#EC72CB #8EEC72 #72ECD0
monochromatic
#C91B9A #E53CB7 #EC72CB #F3A8DF #FBDEF3

Accessibility & contrast

On white

2.68
#EC72CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#EC72CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC72CB
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC72CB#FFFFFF#000000##000000
##EC72CB1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CE
Deuteranopia (green-blind)
#99A5C8
Tritanopia (blue-blind)
#F77595
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ec72cb;
/* rgb */ color: rgb(236, 114, 203);
/* oklch */ color: oklch(72.3% 0.182 338.8);
Tailwind
colors: {
  custom: {
    50: '#f59fdb',
    500: '#ec72cb',
    950: '#000000',
  },
}
SCSS
$custom: #ec72cb;
$custom-light: #f59fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec72cb",
  "rgb": {
    "r": 236,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 316.23,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72271,
    "c": 0.18182,
    "h": 338.8
  },
  "luminance": 0.34179
}

Semantic roles & 50–950 ramp

primary
#EC72CB
secondary
#CBEFD5
accent
#D8440D
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #EC72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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