#CC4873#CC4873

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

Color values

HEX#CC4873
RGBrgb(204, 72, 115)
HSLhsl(340, 56%, 54%)
HSVhsv(340, 65%, 80%)
CMYKcmyk(0%, 64.7%, 43.6%, 20%)
CIE-LABlab(50.35, 55.63, 4.16)
CIE-LCHlch(50.35, 55.79, 4.28°)
OKLaboklab(59.4% 0.1699 0.0113)
OKLCHoklch(59.4% 0.17 3.8)
XYZxyz(30.3159, 18.7136, 18.2320)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4873 #48CCA1
analogous
#CC48B5 #CC4873 #CC5F48
triadic
#CC4873 #73CC48 #4873CC
tetradic
#CC4873 #B5CC48 #48CCA1 #5F48CC
square
#CC4873 #B5CC48 #48CCA1 #5F48CC
split-complementary
#CC4873 #48CC5F #48B5CC
monochromatic
#78213E #A82F56 #CC4873 #D97898 #E7A8BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4873#FFFFFF#000000##000000
##CC48731.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)
#636874
Deuteranopia (green-blind)
#868170
Tritanopia (blue-blind)
#DD3759
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4873;
/* rgb */ color: rgb(204, 72, 115);
/* oklch */ color: oklch(59.4% 0.170 3.8);
Tailwind
colors: {
  custom: {
    50: '#e0829b',
    500: '#cc4873',
    950: '#000000',
  },
}
SCSS
$custom: #cc4873;
$custom-light: #e0829b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4873",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 340.455,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.17025,
    "h": 3.8
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4873

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

Preview Lab → · Contrast checker → · Palette generator →

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