#C72D7B#C72D7B

#C72D7B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.3% C 0.199 H 355.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C72D7B
RGBrgb(199, 45, 123)
HSLhsl(330, 63%, 48%)
HSVhsv(330, 77%, 78%)
CMYKcmyk(0%, 77.4%, 38.2%, 22%)
CIE-LABlab(46.25, 64.65, -6.82)
CIE-LCHlch(46.25, 65.01, 353.98°)
OKLaboklab(56.29% 0.1987 -0.0172)
OKLCHoklch(56.29% 0.199 355.1)
XYZxyz(28.0686, 15.4525, 20.2396)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72D7B #2DC779
analogous
#C62DC7 #C72D7B #C72D2E
triadic
#C72D7B #7BC72D #2D7BC7
tetradic
#C72D7B #C7C62D #2DC779 #2D2EC7
square
#C72D7B #C7C62D #2DC779 #2D2EC7
split-complementary
#C72D7B #2EC72D #2DC7C6
monochromatic
#63163D #95225C #C72D7B #D95899 #E58AB8

Accessibility & contrast

On white

5.13
#C72D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C72D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72D7B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72D7B#FFFFFF#000000##FFFFFF
##C72D7B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7D
Deuteranopia (green-blind)
#787878
Tritanopia (blue-blind)
#D71850
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c72d7b;
/* rgb */ color: rgb(199, 45, 123);
/* oklch */ color: oklch(56.3% 0.199 355.1);
Tailwind
colors: {
  custom: {
    50: '#dd76a1',
    500: '#c72d7b',
    950: '#000000',
  },
}
SCSS
$custom: #c72d7b;
$custom-light: #dd76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c72d7b",
  "rgb": {
    "r": 199,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 329.61,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.19946,
    "h": 355.1
  },
  "luminance": 0.15449
}

Semantic roles & 50–950 ramp

primary
#C72D7B
secondary
#81CEA7
accent
#E69342
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C72D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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