#CC4276#CC4276

#CC4276 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.179 H 1.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC4276
RGBrgb(204, 66, 118)
HSLhsl(337, 58%, 53%)
HSVhsv(337, 68%, 80%)
CMYKcmyk(0%, 67.6%, 42.2%, 20%)
CIE-LABlab(49.55, 58.35, 1.19)
CIE-LCHlch(49.55, 58.36, 1.17°)
OKLaboklab(58.84% 0.1786 0.0038)
OKLCHoklch(58.84% 0.179 1.2)
XYZxyz(30.1222, 18.0455, 19.0329)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4276 #42CC98
analogous
#CC42BB #CC4276 #CC5342
triadic
#CC4276 #76CC42 #4276CC
tetradic
#CC4276 #BBCC42 #42CC98 #5342CC
square
#CC4276 #BBCC42 #42CC98 #5342CC
split-complementary
#CC4276 #42CC53 #42BBCC
monochromatic
#741F3F #A42C5A #CC4276 #D97299 #E6A2BC

Accessibility & contrast

On white

4.56
#CC4276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CC4276 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4276
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4276#FFFFFF#000000##000000
##CC42761.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6577
Deuteranopia (green-blind)
#838073
Tritanopia (blue-blind)
#DD3057
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4276;
/* rgb */ color: rgb(204, 66, 118);
/* oklch */ color: oklch(58.8% 0.179 1.2);
Tailwind
colors: {
  custom: {
    50: '#e17f9d',
    500: '#cc4276',
    950: '#000000',
  },
}
SCSS
$custom: #cc4276;
$custom-light: #e17f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4276",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 337.391,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.17862,
    "h": 1.2
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#CC4276
secondary
#97D3BC
accent
#E1A747
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4276

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

Preview Lab → · Contrast checker → · Palette generator →

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