#C72EA8#C72EA8

#C72EA8 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.3% C 0.223 H 337.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C72EA8
RGBrgb(199, 46, 168)
HSLhsl(312, 62%, 48%)
HSVhsv(312, 77%, 78%)
CMYKcmyk(0%, 76.9%, 15.6%, 22%)
CIE-LABlab(48.17, 69.79, -30.97)
CIE-LCHlch(48.17, 76.35, 336.07°)
OKLaboklab(58.28% 0.2066 -0.0841)
OKLCHoklch(58.28% 0.223 337.8)
XYZxyz(31.5988, 16.9263, 38.6411)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72EA8 #2EC74D
analogous
#992EC7 #C72EA8 #C72E5B
triadic
#C72EA8 #A8C72E #2EA8C7
tetradic
#C72EA8 #C7992E #2EC74D #2E5BC7
square
#C72EA8 #C7992E #2EC74D #2E5BC7
split-complementary
#C72EA8 #5BC72E #2EC799
monochromatic
#641754 #95237E #C72EA8 #D959BF #E48BD2

Accessibility & contrast

On white

4.79
#C72EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C72EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72EA8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72EA8#FFFFFF#000000##FFFFFF
##C72EA81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AB
Deuteranopia (green-blind)
#6A7BA5
Tritanopia (blue-blind)
#D23769
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72ea8;
/* rgb */ color: rgb(199, 46, 168);
/* oklch */ color: oklch(58.3% 0.223 337.8);
Tailwind
colors: {
  custom: {
    50: '#dc77c2',
    500: '#c72ea8',
    950: '#000000',
  },
}
SCSS
$custom: #c72ea8;
$custom-light: #dc77c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ea8",
  "rgb": {
    "r": 199,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 312.157,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.22305,
    "h": 337.8
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#C72EA8
secondary
#83CE92
accent
#E66342
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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