#C72A97#C72A97

#C72A97 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.2% C 0.216 H 343.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C72A97
RGBrgb(199, 42, 151)
HSLhsl(318, 65%, 47%)
HSVhsv(318, 79%, 78%)
CMYKcmyk(0%, 78.9%, 24.1%, 22%)
CIE-LABlab(47.02, 68.67, -22.62)
CIE-LCHlch(47.02, 72.30, 341.77°)
OKLaboklab(57.21% 0.2077 -0.0605)
OKLCHoklch(57.21% 0.216 343.8)
XYZxyz(29.9683, 16.0357, 30.7891)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72A97 #2AC75A
analogous
#A92AC7 #C72A97 #C72A49
triadic
#C72A97 #97C72A #2A97C7
tetradic
#C72A97 #C7A92A #2AC75A #2A49C7
square
#C72A97 #C7A92A #2AC75A #2A49C7
split-complementary
#C72A97 #49C72A #2AC7A9
monochromatic
#62154A #941F71 #C72A97 #DB53B1 #E586C8

Accessibility & contrast

On white

4.99
#C72A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C72A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72A97
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72A97#FFFFFF#000000##FFFFFF
##C72A971.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9A
Deuteranopia (green-blind)
#6F7994
Tritanopia (blue-blind)
#D4295E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c72a97;
/* rgb */ color: rgb(199, 42, 151);
/* oklch */ color: oklch(57.2% 0.216 343.8);
Tailwind
colors: {
  custom: {
    50: '#dd75b5',
    500: '#c72a97',
    950: '#000000',
  },
}
SCSS
$custom: #c72a97;
$custom-light: #dd75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c72a97",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 318.344,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57205,
    "c": 0.21632,
    "h": 343.8
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#C72A97
secondary
#7ECF97
accent
#E87340
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C72A97

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

Preview Lab → · Contrast checker → · Palette generator →

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