#C72FA6#C72FA6

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

Color values

HEX#C72FA6
RGBrgb(199, 47, 166)
HSLhsl(313, 62%, 48%)
HSVhsv(313, 76%, 78%)
CMYKcmyk(0%, 76.4%, 16.6%, 22%)
CIE-LABlab(48.17, 69.23, -29.77)
CIE-LCHlch(48.17, 75.36, 336.73°)
OKLaboklab(58.25% 0.2055 -0.0807)
OKLCHoklch(58.25% 0.221 338.5)
XYZxyz(31.4534, 16.9314, 37.6806)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72FA6 #2FC750
analogous
#9C2FC7 #C72FA6 #C72F5A
triadic
#C72FA6 #A6C72F #2FA6C7
tetradic
#C72FA6 #C79C2F #2FC750 #2F5AC7
square
#C72FA6 #C79C2F #2FC750 #2F5AC7
split-complementary
#C72FA6 #5AC72F #2FC79C
monochromatic
#641853 #95237D #C72FA6 #D85BBD #E48CD1

Accessibility & contrast

On white

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

On black

4.39
#C72FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C72FA6#FFFFFF#000000##FFFFFF
##C72FA61.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c72fa6;
/* rgb */ color: rgb(199, 47, 166);
/* oklch */ color: oklch(58.3% 0.221 338.5);
Tailwind
colors: {
  custom: {
    50: '#dc78c0',
    500: '#c72fa6',
    950: '#000000',
  },
}
SCSS
$custom: #c72fa6;
$custom-light: #dc78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c72fa6",
  "rgb": {
    "r": 199,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 313.026,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.2208,
    "h": 338.5
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#C72FA6
secondary
#84CE94
accent
#E56643
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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