#C72AA5#C72AA5

#C72AA5 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.9% C 0.225 H 338.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C72AA5
RGBrgb(199, 42, 165)
HSLhsl(313, 65%, 47%)
HSVhsv(313, 79%, 78%)
CMYKcmyk(0%, 78.9%, 17.1%, 22%)
CIE-LABlab(47.65, 70.48, -30.00)
CIE-LCHlch(47.65, 76.60, 336.94°)
OKLaboklab(57.86% 0.2096 -0.0814)
OKLCHoklch(57.86% 0.225 338.8)
XYZxyz(31.1735, 16.5178, 37.1365)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AA5 #2AC74C
analogous
#9B2AC7 #C72AA5 #C72A56
triadic
#C72AA5 #A5C72A #2AA5C7
tetradic
#C72AA5 #C79B2A #2AC74C #2A56C7
square
#C72AA5 #C79B2A #2AC74C #2A56C7
split-complementary
#C72AA5 #56C72A #2AC79B
monochromatic
#621551 #941F7B #C72AA5 #DB53BD #E586D1

Accessibility & contrast

On white

4.88
#C72AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C72AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AA5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AA5#FFFFFF#000000##FFFFFF
##C72AA51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A8
Deuteranopia (green-blind)
#6A7AA1
Tritanopia (blue-blind)
#D33266
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c72aa5;
/* rgb */ color: rgb(199, 42, 165);
/* oklch */ color: oklch(57.9% 0.225 338.8);
Tailwind
colors: {
  custom: {
    50: '#dc76c0',
    500: '#c72aa5',
    950: '#000000',
  },
}
SCSS
$custom: #c72aa5;
$custom-light: #dc76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c72aa5",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 312.994,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.2248,
    "h": 338.8
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#C72AA5
secondary
#7ECF8F
accent
#E86440
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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