#C72A9B#C72A9B

#C72A9B is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.219 H 342.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C72A9B
RGBrgb(199, 42, 155)
HSLhsl(317, 65%, 47%)
HSVhsv(317, 79%, 78%)
CMYKcmyk(0%, 78.9%, 22.1%, 22%)
CIE-LABlab(47.19, 69.17, -24.75)
CIE-LCHlch(47.19, 73.46, 340.32°)
OKLaboklab(57.39% 0.2083 -0.0665)
OKLCHoklch(57.39% 0.219 342.3)
XYZxyz(30.2987, 16.1678, 32.5291)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72A9B #2AC756
analogous
#A42AC7 #C72A9B #C72A4D
triadic
#C72A9B #9BC72A #2A9BC7
tetradic
#C72A9B #C7A42A #2AC756 #2A4DC7
square
#C72A9B #C7A42A #2AC756 #2A4DC7
split-complementary
#C72A9B #4DC72A #2AC7A4
monochromatic
#62154C #941F74 #C72A9B #DB53B5 #E586CB

Accessibility & contrast

On white

4.96
#C72A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C72A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72A9B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72A9B#FFFFFF#000000##FFFFFF
##C72A9B1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609E
Deuteranopia (green-blind)
#6E7998
Tritanopia (blue-blind)
#D42C61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c72a9b;
/* rgb */ color: rgb(199, 42, 155);
/* oklch */ color: oklch(57.4% 0.219 342.3);
Tailwind
colors: {
  custom: {
    50: '#dc76b8',
    500: '#c72a9b',
    950: '#000000',
  },
}
SCSS
$custom: #c72a9b;
$custom-light: #dc76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c72a9b",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 316.815,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57386,
    "c": 0.21867,
    "h": 342.3
  },
  "luminance": 0.16165
}

Semantic roles & 50–950 ramp

primary
#C72A9B
secondary
#7ECF95
accent
#E86F40
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C72A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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