#C72CA8#C72CA8

#C72CA8 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.225 H 337.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C72CA8
RGBrgb(199, 44, 168)
HSLhsl(312, 64%, 48%)
HSVhsv(312, 78%, 78%)
CMYKcmyk(0%, 77.9%, 15.6%, 22%)
CIE-LABlab(47.97, 70.35, -31.27)
CIE-LCHlch(47.97, 76.98, 336.04°)
OKLaboklab(58.14% 0.2082 -0.085)
OKLCHoklch(58.14% 0.225 337.8)
XYZxyz(31.5225, 16.7737, 38.6157)
Luminance0.1677 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72CA8 #2CC74B
analogous
#982CC7 #C72CA8 #C72C5A
triadic
#C72CA8 #A8C72C #2CA8C7
tetradic
#C72CA8 #C7982C #2CC74B #2C5AC7
square
#C72CA8 #C7982C #2CC74B #2C5AC7
split-complementary
#C72CA8 #5AC72C #2CC798
monochromatic
#631653 #95217E #C72CA8 #DA56BF #E589D2

Accessibility & contrast

On white

4.82
#C72CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C72CA8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72CA8#FFFFFF#000000##FFFFFF
##C72CA81.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AB
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#D23668
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72ca8;
/* rgb */ color: rgb(199, 44, 168);
/* oklch */ color: oklch(58.1% 0.225 337.8);
Tailwind
colors: {
  custom: {
    50: '#dc77c2',
    500: '#c72ca8',
    950: '#000000',
  },
}
SCSS
$custom: #c72ca8;
$custom-light: #dc77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ca8",
  "rgb": {
    "r": 199,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 312,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58141,
    "c": 0.22492,
    "h": 337.8
  },
  "luminance": 0.16771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C72CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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