#CC479F#CC479F

#CC479F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.192 H 343.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC479F
RGBrgb(204, 71, 159)
HSLhsl(320, 57%, 54%)
HSVhsv(320, 65%, 80%)
CMYKcmyk(0%, 65.2%, 22.1%, 20%)
CIE-LABlab(51.67, 61.22, -20.16)
CIE-LCHlch(51.67, 64.45, 341.77°)
OKLaboklab(60.86% 0.1839 -0.0537)
OKLCHoklch(60.86% 0.192 343.7)
XYZxyz(33.4142, 19.8503, 34.8659)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC479F #47CC74
analogous
#B747CC #CC479F #CC475D
triadic
#CC479F #9FCC47 #479FCC
tetradic
#CC479F #CCB747 #47CC74 #475DCC
square
#CC479F #CCB747 #47CC74 #475DCC
split-complementary
#CC479F #5DCC47 #47CCB7
monochromatic
#77215A #A72E7E #CC479F #D977B8 #E7A7D1

Accessibility & contrast

On white

4.23
#CC479F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC479F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC479F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC479F#FFFFFF#000000##000000
##CC479F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA2
Deuteranopia (green-blind)
#7B839C
Tritanopia (blue-blind)
#D9476D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc479f;
/* rgb */ color: rgb(204, 71, 159);
/* oklch */ color: oklch(60.9% 0.192 343.7);
Tailwind
colors: {
  custom: {
    50: '#df83bb',
    500: '#cc479f',
    950: '#000000',
  },
}
SCSS
$custom: #cc479f;
$custom-light: #df83bb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc479f",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 320.301,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60855,
    "c": 0.19158,
    "h": 343.7
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#CC479F
secondary
#9BD4AE
accent
#E07B48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC479F

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

Preview Lab → · Contrast checker → · Palette generator →

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