#C72B8E#C72B8E

#C72B8E is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.210 H 347.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C72B8E
RGBrgb(199, 43, 142)
HSLhsl(322, 64%, 47%)
HSVhsv(322, 78%, 78%)
CMYKcmyk(0%, 78.4%, 28.6%, 22%)
CIE-LABlab(46.75, 67.31, -17.62)
CIE-LCHlch(46.75, 69.58, 345.33°)
OKLaboklab(56.89% 0.2052 -0.0465)
OKLCHoklch(56.89% 0.21 347.2)
XYZxyz(29.3010, 15.8262, 27.0977)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72B8E #2BC764
analogous
#B22BC7 #C72B8E #C72B40
triadic
#C72B8E #8EC72B #2B8EC7
tetradic
#C72B8E #C7B22B #2BC764 #2B40C7
square
#C72B8E #C7B22B #2BC764 #2B40C7
split-complementary
#C72B8E #40C72B #2BC7B2
monochromatic
#621546 #95206A #C72B8E #DA55AA #E587C3

Accessibility & contrast

On white

5.04
#C72B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C72B8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72B8E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72B8E#FFFFFF#000000##FFFFFF
##C72B8E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E91
Deuteranopia (green-blind)
#72788B
Tritanopia (blue-blind)
#D5245A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c72b8e;
/* rgb */ color: rgb(199, 43, 142);
/* oklch */ color: oklch(56.9% 0.210 347.2);
Tailwind
colors: {
  custom: {
    50: '#dd75af',
    500: '#c72b8e',
    950: '#000000',
  },
}
SCSS
$custom: #c72b8e;
$custom-light: #dd75af;
$custom-dark: #000000;
JSON
{
  "hex": "#c72b8e",
  "rgb": {
    "r": 199,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 321.923,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56885,
    "c": 0.21041,
    "h": 347.2
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#C72B8E
secondary
#7FCF9C
accent
#E77D40
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C72B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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