#C72DA8#C72DA8

#C72DA8 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.2% C 0.224 H 337.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C72DA8
RGBrgb(199, 45, 168)
HSLhsl(312, 63%, 48%)
HSVhsv(312, 77%, 78%)
CMYKcmyk(0%, 77.4%, 15.6%, 22%)
CIE-LABlab(48.07, 70.07, -31.12)
CIE-LCHlch(48.07, 76.67, 336.05°)
OKLaboklab(58.21% 0.2074 -0.0846)
OKLCHoklch(58.21% 0.224 337.8)
XYZxyz(31.5602, 16.8491, 38.6283)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72DA8 #2DC74C
analogous
#992DC7 #C72DA8 #C72D5B
triadic
#C72DA8 #A8C72D #2DA8C7
tetradic
#C72DA8 #C7992D #2DC74C #2D5BC7
square
#C72DA8 #C7992D #2DC74C #2D5BC7
split-complementary
#C72DA8 #5BC72D #2DC799
monochromatic
#631654 #95227E #C72DA8 #D958BF #E58AD2

Accessibility & contrast

On white

4.81
#C72DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C72DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72DA8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72DA8#FFFFFF#000000##FFFFFF
##C72DA81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#6A7AA5
Tritanopia (blue-blind)
#D23669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72da8;
/* rgb */ color: rgb(199, 45, 168);
/* oklch */ color: oklch(58.2% 0.224 337.8);
Tailwind
colors: {
  custom: {
    50: '#dc77c2',
    500: '#c72da8',
    950: '#000000',
  },
}
SCSS
$custom: #c72da8;
$custom-light: #dc77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c72da8",
  "rgb": {
    "r": 199,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 312.078,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.22399,
    "h": 337.8
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#C72DA8
secondary
#81CE91
accent
#E66342
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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