#CC4872#CC4872

#CC4872 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.170 H 4.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC4872
RGBrgb(204, 72, 114)
HSLhsl(341, 56%, 54%)
HSVhsv(341, 65%, 80%)
CMYKcmyk(0%, 64.7%, 44.1%, 20%)
CIE-LABlab(50.32, 55.53, 4.73)
CIE-LCHlch(50.32, 55.73, 4.86°)
OKLaboklab(59.37% 0.1695 0.0128)
OKLCHoklch(59.37% 0.17 4.3)
XYZxyz(30.2587, 18.6907, 17.9305)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4872 #48CCA2
analogous
#CC48B4 #CC4872 #CC6048
triadic
#CC4872 #72CC48 #4872CC
tetradic
#CC4872 #B4CC48 #48CCA2 #6048CC
square
#CC4872 #B4CC48 #48CCA2 #6048CC
split-complementary
#CC4872 #48CC60 #48B4CC
monochromatic
#78213D #A82F55 #CC4872 #D97897 #E7A8BC

Accessibility & contrast

On white

4.43
#CC4872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#CC4872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4872
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4872#FFFFFF#000000##000000
##CC48721.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636773
Deuteranopia (green-blind)
#86816F
Tritanopia (blue-blind)
#DD3759
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4872;
/* rgb */ color: rgb(204, 72, 114);
/* oklch */ color: oklch(59.4% 0.170 4.3);
Tailwind
colors: {
  custom: {
    50: '#e0829a',
    500: '#cc4872',
    950: '#000000',
  },
}
SCSS
$custom: #cc4872;
$custom-light: #e0829a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4872",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 340.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.16999,
    "h": 4.3
  },
  "luminance": 0.18687
}

Semantic roles & 50–950 ramp

primary
#CC4872
secondary
#9CD4C2
accent
#E0AF48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4872

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

Preview Lab → · Contrast checker → · Palette generator →

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