#C72A9D#C72A9D

#C72A9D is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.5% C 0.220 H 341.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C72A9D
RGBrgb(199, 42, 157)
HSLhsl(316, 65%, 47%)
HSVhsv(316, 79%, 78%)
CMYKcmyk(0%, 78.9%, 21.1%, 22%)
CIE-LABlab(47.28, 69.43, -25.80)
CIE-LCHlch(47.28, 74.07, 339.61°)
OKLaboklab(57.48% 0.2086 -0.0695)
OKLCHoklch(57.48% 0.22 341.6)
XYZxyz(30.4680, 16.2356, 33.4210)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72A9D #2AC754
analogous
#A32AC7 #C72A9D #C72A4F
triadic
#C72A9D #9DC72A #2A9DC7
tetradic
#C72A9D #C7A32A #2AC754 #2A4FC7
square
#C72A9D #C7A32A #2AC754 #2A4FC7
split-complementary
#C72A9D #4FC72A #2AC7A3
monochromatic
#62154D #941F75 #C72A9D #DB53B7 #E586CC

Accessibility & contrast

On white

4.95
#C72A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C72A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72A9D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72A9D#FFFFFF#000000##FFFFFF
##C72A9D1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#6D799A
Tritanopia (blue-blind)
#D42D62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c72a9d;
/* rgb */ color: rgb(199, 42, 157);
/* oklch */ color: oklch(57.5% 0.220 341.6);
Tailwind
colors: {
  custom: {
    50: '#dc76ba',
    500: '#c72a9d',
    950: '#000000',
  },
}
SCSS
$custom: #c72a9d;
$custom-light: #dc76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c72a9d",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 316.051,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.21986,
    "h": 341.6
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#C72A9D
secondary
#7ECF94
accent
#E86D40
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C72A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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