#C72BAB#C72BAB

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

Color values

HEX#C72BAB
RGBrgb(199, 43, 171)
HSLhsl(311, 64%, 47%)
HSVhsv(311, 78%, 78%)
CMYKcmyk(0%, 78.4%, 14.1%, 22%)
CIE-LABlab(48.02, 71.03, -32.96)
CIE-LCHlch(48.02, 78.31, 335.10°)
OKLaboklab(58.22% 0.2093 -0.0898)
OKLCHoklch(58.22% 0.228 336.8)
XYZxyz(31.7684, 16.8132, 40.0924)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72BAB #2BC747
analogous
#952BC7 #C72BAB #C72B5D
triadic
#C72BAB #ABC72B #2BABC7
tetradic
#C72BAB #C7952B #2BC747 #2B5DC7
square
#C72BAB #C7952B #2BC747 #2B5DC7
split-complementary
#C72BAB #5DC72B #2BC795
monochromatic
#621555 #952080 #C72BAB #DA55C2 #E587D4

Accessibility & contrast

On white

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

On black

4.36
#C72BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C72BAB#FFFFFF#000000##FFFFFF
##C72BAB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#D2376A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72bab;
/* rgb */ color: rgb(199, 43, 171);
/* oklch */ color: oklch(58.2% 0.228 336.8);
Tailwind
colors: {
  custom: {
    50: '#dc77c4',
    500: '#c72bab',
    950: '#000000',
  },
}
SCSS
$custom: #c72bab;
$custom-light: #dc77c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c72bab",
  "rgb": {
    "r": 199,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 310.769,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58223,
    "c": 0.22777,
    "h": 336.8
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#C72BAB
secondary
#7FCF8D
accent
#E75E40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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