#C72FA2#C72FA2

#C72FA2 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.218 H 340.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C72FA2
RGBrgb(199, 47, 162)
HSLhsl(315, 62%, 48%)
HSVhsv(315, 76%, 78%)
CMYKcmyk(0%, 76.4%, 18.6%, 22%)
CIE-LABlab(47.99, 68.69, -27.68)
CIE-LCHlch(47.99, 74.06, 338.05°)
OKLaboklab(58.06% 0.205 -0.0748)
OKLCHoklch(58.06% 0.218 340)
XYZxyz(31.0922, 16.7869, 35.7782)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72FA2 #2FC754
analogous
#A02FC7 #C72FA2 #C72F56
triadic
#C72FA2 #A2C72F #2FA2C7
tetradic
#C72FA2 #C7A02F #2FC754 #2F56C7
square
#C72FA2 #C7A02F #2FC754 #2F56C7
split-complementary
#C72FA2 #56C72F #2FC7A0
monochromatic
#641851 #95237A #C72FA2 #D85BBA #E48CCF

Accessibility & contrast

On white

4.82
#C72FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C72FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72FA2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72FA2#FFFFFF#000000##FFFFFF
##C72FA21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A5
Deuteranopia (green-blind)
#6D7A9F
Tritanopia (blue-blind)
#D33566
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72fa2;
/* rgb */ color: rgb(199, 47, 162);
/* oklch */ color: oklch(58.1% 0.218 340.0);
Tailwind
colors: {
  custom: {
    50: '#dc78be',
    500: '#c72fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c72fa2;
$custom-light: #dc78be;
$custom-dark: #000000;
JSON
{
  "hex": "#c72fa2",
  "rgb": {
    "r": 199,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 314.605,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.21825,
    "h": 340
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#C72FA2
secondary
#84CE96
accent
#E56A43
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C72FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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