#C72EAB#C72EAB

#C72EAB is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.4% C 0.225 H 336.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C72EAB
RGBrgb(199, 46, 171)
HSLhsl(311, 62%, 48%)
HSVhsv(311, 77%, 78%)
CMYKcmyk(0%, 76.9%, 14.1%, 22%)
CIE-LABlab(48.31, 70.21, -32.52)
CIE-LCHlch(48.31, 77.37, 335.15°)
OKLaboklab(58.43% 0.2069 -0.0886)
OKLCHoklch(58.43% 0.225 336.8)
XYZxyz(31.8815, 17.0394, 40.1301)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72EAB #2EC74A
analogous
#962EC7 #C72EAB #C72E5F
triadic
#C72EAB #ABC72E #2EABC7
tetradic
#C72EAB #C7962E #2EC74A #2E5FC7
square
#C72EAB #C7962E #2EC74A #2E5FC7
split-complementary
#C72EAB #5FC72E #2EC796
monochromatic
#641756 #952380 #C72EAB #D959C1 #E48BD4

Accessibility & contrast

On white

4.76
#C72EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C72EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72EAB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72EAB#FFFFFF#000000##FFFFFF
##C72EAB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AE
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#D2396A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c72eab;
/* rgb */ color: rgb(199, 46, 171);
/* oklch */ color: oklch(58.4% 0.225 336.8);
Tailwind
colors: {
  custom: {
    50: '#dc78c4',
    500: '#c72eab',
    950: '#000000',
  },
}
SCSS
$custom: #c72eab;
$custom-light: #dc78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c72eab",
  "rgb": {
    "r": 199,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 310.98,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58429,
    "c": 0.22502,
    "h": 336.8
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#C72EAB
secondary
#83CE90
accent
#E66042
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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