#C72AA2#C72AA2

#C72AA2 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.7% C 0.223 H 339.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C72AA2
RGBrgb(199, 42, 162)
HSLhsl(314, 65%, 47%)
HSVhsv(314, 79%, 78%)
CMYKcmyk(0%, 78.9%, 18.6%, 22%)
CIE-LABlab(47.51, 70.08, -28.43)
CIE-LCHlch(47.51, 75.63, 337.91°)
OKLaboklab(57.71% 0.2092 -0.0769)
OKLCHoklch(57.71% 0.223 339.8)
XYZxyz(30.9036, 16.4098, 35.7153)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AA2 #2AC74F
analogous
#9D2AC7 #C72AA2 #C72A54
triadic
#C72AA2 #A2C72A #2AA2C7
tetradic
#C72AA2 #C79D2A #2AC74F #2A54C7
square
#C72AA2 #C79D2A #2AC74F #2A54C7
split-complementary
#C72AA2 #54C72A #2AC79D
monochromatic
#621550 #941F79 #C72AA2 #DB53BB #E586CF

Accessibility & contrast

On white

4.90
#C72AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C72AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AA2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AA2#FFFFFF#000000##FFFFFF
##C72AA21.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#6B799F
Tritanopia (blue-blind)
#D33064
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c72aa2;
/* rgb */ color: rgb(199, 42, 162);
/* oklch */ color: oklch(57.7% 0.223 339.8);
Tailwind
colors: {
  custom: {
    50: '#dc76be',
    500: '#c72aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c72aa2;
$custom-light: #dc76be;
$custom-dark: #000000;
JSON
{
  "hex": "#c72aa2",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 314.14,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57714,
    "c": 0.22292,
    "h": 339.8
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#C72AA2
secondary
#7ECF91
accent
#E86740
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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