#C72AAA#C72AAA

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

Color values

HEX#C72AAA
RGBrgb(199, 42, 170)
HSLhsl(311, 65%, 47%)
HSVhsv(311, 79%, 78%)
CMYKcmyk(0%, 78.9%, 14.6%, 22%)
CIE-LABlab(47.88, 71.15, -32.59)
CIE-LCHlch(47.88, 78.26, 335.39°)
OKLaboklab(58.11% 0.21 -0.0888)
OKLCHoklch(58.11% 0.228 337.1)
XYZxyz(31.6375, 16.7034, 39.5803)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AAA #2AC747
analogous
#962AC7 #C72AAA #C72A5B
triadic
#C72AAA #AAC72A #2AAAC7
tetradic
#C72AAA #C7962A #2AC747 #2A5BC7
square
#C72AAA #C7962A #2AC747 #2A5BC7
split-complementary
#C72AAA #5BC72A #2AC796
monochromatic
#621554 #941F7F #C72AAA #DB53C2 #E586D4

Accessibility & contrast

On white

4.84
#C72AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C72AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AAA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AAA#FFFFFF#000000##FFFFFF
##C72AAA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#687AA6
Tritanopia (blue-blind)
#D23569
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72aaa;
/* rgb */ color: rgb(199, 42, 170);
/* oklch */ color: oklch(58.1% 0.228 337.1);
Tailwind
colors: {
  custom: {
    50: '#dc76c3',
    500: '#c72aaa',
    950: '#000000',
  },
}
SCSS
$custom: #c72aaa;
$custom-light: #dc76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c72aaa",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 311.083,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.228,
    "h": 337.1
  },
  "luminance": 0.167
}

Semantic roles & 50–950 ramp

primary
#C72AAA
secondary
#7ECF8D
accent
#E85F40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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