#CC479D#CC479D

#CC479D is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.190 H 344.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC479D
RGBrgb(204, 71, 157)
HSLhsl(321, 57%, 54%)
HSVhsv(321, 65%, 80%)
CMYKcmyk(0%, 65.2%, 23%, 20%)
CIE-LABlab(51.59, 60.95, -19.10)
CIE-LCHlch(51.59, 63.87, 342.60°)
OKLaboklab(60.77% 0.1835 -0.0508)
OKLCHoklch(60.77% 0.19 344.5)
XYZxyz(33.2420, 19.7814, 33.9593)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC479D #47CC76
analogous
#B947CC #CC479D #CC475B
triadic
#CC479D #9DCC47 #479DCC
tetradic
#CC479D #CCB947 #47CC76 #475BCC
square
#CC479D #CCB947 #47CC76 #475BCC
split-complementary
#CC479D #5BCC47 #47CCB9
monochromatic
#772159 #A72E7D #CC479D #D977B7 #E7A7D0

Accessibility & contrast

On white

4.24
#CC479D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC479D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC479D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC479D#FFFFFF#000000##000000
##CC479D1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#546DA0
Deuteranopia (green-blind)
#7B839A
Tritanopia (blue-blind)
#D9466C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc479d;
/* rgb */ color: rgb(204, 71, 157);
/* oklch */ color: oklch(60.8% 0.190 344.5);
Tailwind
colors: {
  custom: {
    50: '#df83ba',
    500: '#cc479d',
    950: '#000000',
  },
}
SCSS
$custom: #cc479d;
$custom-light: #df83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc479d",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 157
  },
  "hsl": {
    "h": 321.203,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60772,
    "c": 0.19036,
    "h": 344.5
  },
  "luminance": 0.19778
}

Semantic roles & 50–950 ramp

primary
#CC479D
secondary
#9BD4AF
accent
#E07E48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC479D

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

Preview Lab → · Contrast checker → · Palette generator →

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