#C72F7F#C72F7F

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

Color values

HEX#C72F7F
RGBrgb(199, 47, 127)
HSLhsl(328, 62%, 48%)
HSVhsv(328, 76%, 78%)
CMYKcmyk(0%, 76.4%, 36.2%, 22%)
CIE-LABlab(46.59, 64.48, -8.75)
CIE-LCHlch(46.59, 65.07, 352.28°)
OKLaboklab(56.59% 0.198 -0.0223)
OKLCHoklch(56.59% 0.199 353.6)
XYZxyz(28.4023, 15.7109, 21.6114)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72F7F #2FC777
analogous
#C32FC7 #C72F7F #C72F33
triadic
#C72F7F #7FC72F #2F7FC7
tetradic
#C72F7F #C7C32F #2FC777 #2F33C7
square
#C72F7F #C7C32F #2FC777 #2F33C7
split-complementary
#C72F7F #33C72F #2FC7C3
monochromatic
#641840 #95235F #C72F7F #D85B9D #E48CBB

Accessibility & contrast

On white

5.07
#C72F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C72F7F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72F7F#FFFFFF#000000##FFFFFF
##C72F7F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#77787C
Tritanopia (blue-blind)
#D71E53
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c72f7f;
/* rgb */ color: rgb(199, 47, 127);
/* oklch */ color: oklch(56.6% 0.199 353.6);
Tailwind
colors: {
  custom: {
    50: '#dd76a4',
    500: '#c72f7f',
    950: '#000000',
  },
}
SCSS
$custom: #c72f7f;
$custom-light: #dd76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c72f7f",
  "rgb": {
    "r": 199,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 328.421,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.19922,
    "h": 353.6
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#C72F7F
secondary
#84CEA7
accent
#E59043
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C72F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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