#CC4871#CC4871

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

Color values

HEX#CC4871
RGBrgb(204, 72, 113)
HSLhsl(341, 56%, 54%)
HSVhsv(341, 65%, 80%)
CMYKcmyk(0%, 64.7%, 44.6%, 20%)
CIE-LABlab(50.30, 55.43, 5.29)
CIE-LCHlch(50.30, 55.69, 5.45°)
OKLaboklab(59.35% 0.1692 0.0142)
OKLCHoklch(59.35% 0.17 4.8)
XYZxyz(30.2021, 18.6680, 17.6324)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4871 #48CCA3
analogous
#CC48B3 #CC4871 #CC6148
triadic
#CC4871 #71CC48 #4871CC
tetradic
#CC4871 #B3CC48 #48CCA3 #6148CC
square
#CC4871 #B3CC48 #48CCA3 #6148CC
split-complementary
#CC4871 #48CC61 #48B3CC
monochromatic
#78213C #A82F54 #CC4871 #D97896 #E7A8BB

Accessibility & contrast

On white

4.44
#CC4871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC4871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4871
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4871#FFFFFF#000000##000000
##CC48711.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#646772
Deuteranopia (green-blind)
#86816E
Tritanopia (blue-blind)
#DD3658
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4871;
/* rgb */ color: rgb(204, 72, 113);
/* oklch */ color: oklch(59.3% 0.170 4.8);
Tailwind
colors: {
  custom: {
    50: '#e18299',
    500: '#cc4871',
    950: '#000000',
  },
}
SCSS
$custom: #cc4871;
$custom-light: #e18299;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4871",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 341.364,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.16974,
    "h": 4.8
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#CC4871
secondary
#9CD4C3
accent
#E0B148
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC4871

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

Preview Lab → · Contrast checker → · Palette generator →

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