#C72F7E#C72F7E

#C72F7E is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.6% C 0.199 H 354.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C72F7E
RGBrgb(199, 47, 126)
HSLhsl(329, 62%, 48%)
HSVhsv(329, 76%, 78%)
CMYKcmyk(0%, 76.4%, 36.7%, 22%)
CIE-LABlab(46.56, 64.38, -8.19)
CIE-LCHlch(46.56, 64.89, 352.75°)
OKLaboklab(56.56% 0.1977 -0.0208)
OKLCHoklch(56.56% 0.199 354)
XYZxyz(28.3374, 15.6850, 21.2699)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72F7E #2FC778
analogous
#C42FC7 #C72F7E #C72F32
triadic
#C72F7E #7EC72F #2F7EC7
tetradic
#C72F7E #C7C42F #2FC778 #2F32C7
square
#C72F7E #C7C42F #2FC778 #2F32C7
split-complementary
#C72F7E #32C72F #2FC7C4
monochromatic
#64183F #95235F #C72F7E #D85B9C #E48CBA

Accessibility & contrast

On white

5.08
#C72F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C72F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72F7E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72F7E#FFFFFF#000000##FFFFFF
##C72F7E1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D80
Deuteranopia (green-blind)
#78787B
Tritanopia (blue-blind)
#D71D53
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c72f7e;
/* rgb */ color: rgb(199, 47, 126);
/* oklch */ color: oklch(56.6% 0.199 354.0);
Tailwind
colors: {
  custom: {
    50: '#dd76a3',
    500: '#c72f7e',
    950: '#000000',
  },
}
SCSS
$custom: #c72f7e;
$custom-light: #dd76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c72f7e",
  "rgb": {
    "r": 199,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 328.816,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56555,
    "c": 0.19878,
    "h": 354
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#C72F7E
secondary
#84CEA7
accent
#E59143
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C72F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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