#C72CA7#C72CA7

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

Color values

HEX#C72CA7
RGBrgb(199, 44, 167)
HSLhsl(312, 64%, 48%)
HSVhsv(312, 78%, 78%)
CMYKcmyk(0%, 77.9%, 16.1%, 22%)
CIE-LABlab(47.93, 70.21, -30.75)
CIE-LCHlch(47.93, 76.65, 336.35°)
OKLaboklab(58.09% 0.2081 -0.0835)
OKLCHoklch(58.09% 0.224 338.1)
XYZxyz(31.4297, 16.7366, 38.1270)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72CA7 #2CC74C
analogous
#992CC7 #C72CA7 #C72C5A
triadic
#C72CA7 #A7C72C #2CA7C7
tetradic
#C72CA7 #C7992C #2CC74C #2C5AC7
square
#C72CA7 #C7992C #2CC74C #2C5AC7
split-complementary
#C72CA7 #5AC72C #2CC799
monochromatic
#631653 #95217D #C72CA7 #DA56BF #E589D2

Accessibility & contrast

On white

4.83
#C72CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C72CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72CA7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72CA7#FFFFFF#000000##FFFFFF
##C72CA71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AA
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#D23568
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72ca7;
/* rgb */ color: rgb(199, 44, 167);
/* oklch */ color: oklch(58.1% 0.224 338.1);
Tailwind
colors: {
  custom: {
    50: '#dc77c1',
    500: '#c72ca7',
    950: '#000000',
  },
}
SCSS
$custom: #c72ca7;
$custom-light: #dc77c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ca7",
  "rgb": {
    "r": 199,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 312.387,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.22427,
    "h": 338.1
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#C72CA7
secondary
#80CF90
accent
#E76341
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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