#CC4076#CC4076

#CC4076 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.181 H 0.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC4076
RGBrgb(204, 64, 118)
HSLhsl(337, 58%, 53%)
HSVhsv(337, 69%, 80%)
CMYKcmyk(0%, 68.6%, 42.2%, 20%)
CIE-LABlab(49.27, 59.12, 0.79)
CIE-LCHlch(49.27, 59.12, 0.76°)
OKLaboklab(58.63% 0.181 0.0027)
OKLCHoklch(58.63% 0.181 0.9)
XYZxyz(30.0074, 17.8159, 18.9946)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4076 #40CC96
analogous
#CC40BC #CC4076 #CC5040
triadic
#CC4076 #76CC40 #4076CC
tetradic
#CC4076 #BCCC40 #40CC96 #5040CC
square
#CC4076 #BCCC40 #40CC96 #5040CC
split-complementary
#CC4076 #40CC50 #40BCCC
monochromatic
#731F3F #A32C5A #CC4076 #D97099 #E6A1BB

Accessibility & contrast

On white

4.60
#CC4076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CC4076 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4076
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4076#FFFFFF#000000##FFFFFF
##CC40761.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6477
Deuteranopia (green-blind)
#827F73
Tritanopia (blue-blind)
#DD2E56
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4076;
/* rgb */ color: rgb(204, 64, 118);
/* oklch */ color: oklch(58.6% 0.181 0.9);
Tailwind
colors: {
  custom: {
    50: '#e17e9d',
    500: '#cc4076',
    950: '#000000',
  },
}
SCSS
$custom: #cc4076;
$custom-light: #e17e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4076",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 336.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.18105,
    "h": 0.9
  },
  "luminance": 0.17812
}

Semantic roles & 50–950 ramp

primary
#CC4076
secondary
#95D2BB
accent
#E1A647
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4076

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

Preview Lab → · Contrast checker → · Palette generator →

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