#CC4876#CC4876

#CC4876 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.171 H 2.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC4876
RGBrgb(204, 72, 118)
HSLhsl(339, 56%, 54%)
HSVhsv(339, 65%, 80%)
CMYKcmyk(0%, 64.7%, 42.2%, 20%)
CIE-LABlab(50.43, 55.93, 2.47)
CIE-LCHlch(50.43, 55.99, 2.53°)
OKLaboklab(59.49% 0.1709 0.007)
OKLCHoklch(59.49% 0.171 2.4)
XYZxyz(30.4913, 18.7837, 19.1559)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4876 #48CC9E
analogous
#CC48B8 #CC4876 #CC5C48
triadic
#CC4876 #76CC48 #4876CC
tetradic
#CC4876 #B8CC48 #48CC9E #5C48CC
square
#CC4876 #B8CC48 #48CC9E #5C48CC
split-complementary
#CC4876 #48CC5C #48B8CC
monochromatic
#782140 #A82F59 #CC4876 #D9789A #E7A8BE

Accessibility & contrast

On white

4.42
#CC4876 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC4876 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4876
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4876#FFFFFF#000000##000000
##CC48761.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#626877
Deuteranopia (green-blind)
#858173
Tritanopia (blue-blind)
#DD385A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4876;
/* rgb */ color: rgb(204, 72, 118);
/* oklch */ color: oklch(59.5% 0.171 2.4);
Tailwind
colors: {
  custom: {
    50: '#e0839d',
    500: '#cc4876',
    950: '#000000',
  },
}
SCSS
$custom: #cc4876;
$custom-light: #e0839d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4876",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 339.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59491,
    "c": 0.17106,
    "h": 2.4
  },
  "luminance": 0.1878
}

Semantic roles & 50–950 ramp

primary
#CC4876
secondary
#9CD4C0
accent
#E0AB48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4876

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

Preview Lab → · Contrast checker → · Palette generator →

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