#C72AA9#C72AA9

#C72AA9 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 58.1% C 0.227 H 337.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C72AA9
RGBrgb(199, 42, 169)
HSLhsl(311, 65%, 47%)
HSVhsv(311, 79%, 78%)
CMYKcmyk(0%, 78.9%, 15.1%, 22%)
CIE-LABlab(47.84, 71.02, -32.08)
CIE-LCHlch(47.84, 77.93, 335.69°)
OKLaboklab(58.06% 0.2099 -0.0873)
OKLCHoklch(58.06% 0.227 337.4)
XYZxyz(31.5433, 16.6657, 39.0840)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AA9 #2AC748
analogous
#972AC7 #C72AA9 #C72A5B
triadic
#C72AA9 #A9C72A #2AA9C7
tetradic
#C72AA9 #C7972A #2AC748 #2A5BC7
square
#C72AA9 #C7972A #2AC748 #2A5BC7
split-complementary
#C72AA9 #5BC72A #2AC797
monochromatic
#621553 #941F7E #C72AA9 #DB53C1 #E586D3

Accessibility & contrast

On white

4.85
#C72AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C72AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AA9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AA9#FFFFFF#000000##FFFFFF
##C72AA91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#687AA5
Tritanopia (blue-blind)
#D23568
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c72aa9;
/* rgb */ color: rgb(199, 42, 169);
/* oklch */ color: oklch(58.1% 0.227 337.4);
Tailwind
colors: {
  custom: {
    50: '#dc76c3',
    500: '#c72aa9',
    950: '#000000',
  },
}
SCSS
$custom: #c72aa9;
$custom-light: #dc76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c72aa9",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 311.465,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.22735,
    "h": 337.4
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#C72AA9
secondary
#7ECF8D
accent
#E86040
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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