#C72EA6#C72EA6

#C72EA6 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.2% C 0.222 H 338.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C72EA6
RGBrgb(199, 46, 166)
HSLhsl(313, 62%, 48%)
HSVhsv(313, 77%, 78%)
CMYKcmyk(0%, 76.9%, 16.6%, 22%)
CIE-LABlab(48.07, 69.52, -29.93)
CIE-LCHlch(48.07, 75.69, 336.71°)
OKLaboklab(58.18% 0.2064 -0.0812)
OKLCHoklch(58.18% 0.222 338.5)
XYZxyz(31.4139, 16.8524, 37.6674)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72EA6 #2EC74F
analogous
#9B2EC7 #C72EA6 #C72E5A
triadic
#C72EA6 #A6C72E #2EA6C7
tetradic
#C72EA6 #C79B2E #2EC74F #2E5AC7
square
#C72EA6 #C79B2E #2EC74F #2E5AC7
split-complementary
#C72EA6 #5AC72E #2EC79B
monochromatic
#641753 #95237D #C72EA6 #D959BD #E48BD1

Accessibility & contrast

On white

4.81
#C72EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C72EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72EA6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72EA6#FFFFFF#000000##FFFFFF
##C72EA61.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#6B7BA3
Tritanopia (blue-blind)
#D23668
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72ea6;
/* rgb */ color: rgb(199, 46, 166);
/* oklch */ color: oklch(58.2% 0.222 338.5);
Tailwind
colors: {
  custom: {
    50: '#dc77c0',
    500: '#c72ea6',
    950: '#000000',
  },
}
SCSS
$custom: #c72ea6;
$custom-light: #dc77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ea6",
  "rgb": {
    "r": 199,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 312.941,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.22177,
    "h": 338.5
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#C72EA6
secondary
#83CE93
accent
#E66542
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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