#C72DAB#C72DAB

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

Color values

HEX#C72DAB
RGBrgb(199, 45, 171)
HSLhsl(311, 63%, 48%)
HSVhsv(311, 77%, 78%)
CMYKcmyk(0%, 77.4%, 14.1%, 22%)
CIE-LABlab(48.21, 70.49, -32.67)
CIE-LCHlch(48.21, 77.69, 335.13°)
OKLaboklab(58.36% 0.2077 -0.089)
OKLCHoklch(58.36% 0.226 336.8)
XYZxyz(31.8429, 16.9622, 40.1172)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72DAB #2DC749
analogous
#962DC7 #C72DAB #C72D5E
triadic
#C72DAB #ABC72D #2DABC7
tetradic
#C72DAB #C7962D #2DC749 #2D5EC7
square
#C72DAB #C7962D #2DC749 #2D5EC7
split-complementary
#C72DAB #5EC72D #2DC796
monochromatic
#631655 #952280 #C72DAB #D958C2 #E58AD4

Accessibility & contrast

On white

4.78
#C72DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C72DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72DAB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72DAB#FFFFFF#000000##FFFFFF
##C72DAB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AE
Deuteranopia (green-blind)
#687BA7
Tritanopia (blue-blind)
#D2386A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72dab;
/* rgb */ color: rgb(199, 45, 171);
/* oklch */ color: oklch(58.4% 0.226 336.8);
Tailwind
colors: {
  custom: {
    50: '#dc77c4',
    500: '#c72dab',
    950: '#000000',
  },
}
SCSS
$custom: #c72dab;
$custom-light: #dc77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c72dab",
  "rgb": {
    "r": 199,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 310.909,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.22595,
    "h": 336.8
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#C72DAB
secondary
#81CE8F
accent
#E66042
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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