#C72CA6#C72CA6

#C72CA6 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 58.0% C 0.224 H 338.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C72CA6
RGBrgb(199, 44, 166)
HSLhsl(313, 64%, 48%)
HSVhsv(313, 78%, 78%)
CMYKcmyk(0%, 77.9%, 16.6%, 22%)
CIE-LABlab(47.88, 70.08, -30.23)
CIE-LCHlch(47.88, 76.32, 336.66°)
OKLaboklab(58.04% 0.208 -0.082)
OKLCHoklch(58.04% 0.224 338.5)
XYZxyz(31.3376, 16.6997, 37.6420)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72CA6 #2CC74D
analogous
#9A2CC7 #C72CA6 #C72C59
triadic
#C72CA6 #A6C72C #2CA6C7
tetradic
#C72CA6 #C79A2C #2CC74D #2C59C7
square
#C72CA6 #C79A2C #2CC74D #2C59C7
split-complementary
#C72CA6 #59C72C #2CC79A
monochromatic
#631652 #95217C #C72CA6 #DA56BE #E589D1

Accessibility & contrast

On white

4.84
#C72CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C72CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72CA6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72CA6#FFFFFF#000000##FFFFFF
##C72CA61.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A9
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#D23467
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72ca6;
/* rgb */ color: rgb(199, 44, 166);
/* oklch */ color: oklch(58.0% 0.224 338.5);
Tailwind
colors: {
  custom: {
    50: '#dc77c0',
    500: '#c72ca6',
    950: '#000000',
  },
}
SCSS
$custom: #c72ca6;
$custom-light: #dc77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ca6",
  "rgb": {
    "r": 199,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 312.774,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.22363,
    "h": 338.5
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#C72CA6
secondary
#80CF91
accent
#E76441
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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