#C72A9C#C72A9C

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

Color values

HEX#C72A9C
RGBrgb(199, 42, 156)
HSLhsl(316, 65%, 47%)
HSVhsv(316, 79%, 78%)
CMYKcmyk(0%, 78.9%, 21.6%, 22%)
CIE-LABlab(47.24, 69.30, -25.28)
CIE-LCHlch(47.24, 73.76, 339.96°)
OKLaboklab(57.43% 0.2085 -0.068)
OKLCHoklch(57.43% 0.219 341.9)
XYZxyz(30.3830, 16.2016, 32.9732)
Luminance0.1620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72A9C #2AC755
analogous
#A32AC7 #C72A9C #C72A4E
triadic
#C72A9C #9CC72A #2A9CC7
tetradic
#C72A9C #C7A32A #2AC755 #2A4EC7
square
#C72A9C #C7A32A #2AC755 #2A4EC7
split-complementary
#C72A9C #4EC72A #2AC7A3
monochromatic
#62154D #941F74 #C72A9C #DB53B6 #E586CB

Accessibility & contrast

On white

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

On black

4.24
#C72A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C72A9C#FFFFFF#000000##FFFFFF
##C72A9C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B609F
Deuteranopia (green-blind)
#6D7999
Tritanopia (blue-blind)
#D42D61
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c72a9c;
/* rgb */ color: rgb(199, 42, 156);
/* oklch */ color: oklch(57.4% 0.219 341.9);
Tailwind
colors: {
  custom: {
    50: '#dc76b9',
    500: '#c72a9c',
    950: '#000000',
  },
}
SCSS
$custom: #c72a9c;
$custom-light: #dc76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c72a9c",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 316.433,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.21926,
    "h": 341.9
  },
  "luminance": 0.16198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C72A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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