#CC479E#CC479E

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

Color values

HEX#CC479E
RGBrgb(204, 71, 158)
HSLhsl(321, 57%, 54%)
HSVhsv(321, 65%, 80%)
CMYKcmyk(0%, 65.2%, 22.5%, 20%)
CIE-LABlab(51.63, 61.08, -19.63)
CIE-LCHlch(51.63, 64.16, 342.18°)
OKLaboklab(60.81% 0.1837 -0.0523)
OKLCHoklch(60.81% 0.191 344.1)
XYZxyz(33.3278, 19.8157, 34.4107)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC479E #47CC75
analogous
#B847CC #CC479E #CC475C
triadic
#CC479E #9ECC47 #479ECC
tetradic
#CC479E #CCB847 #47CC75 #475CCC
square
#CC479E #CCB847 #47CC75 #475CCC
split-complementary
#CC479E #5CCC47 #47CCB8
monochromatic
#77215A #A72E7E #CC479E #D977B7 #E7A7D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC479E#FFFFFF#000000##000000
##CC479E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc479e;
/* rgb */ color: rgb(204, 71, 158);
/* oklch */ color: oklch(60.8% 0.191 344.1);
Tailwind
colors: {
  custom: {
    50: '#df83ba',
    500: '#cc479e',
    950: '#000000',
  },
}
SCSS
$custom: #cc479e;
$custom-light: #df83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cc479e",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 320.752,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.19097,
    "h": 344.1
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC479E

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

Preview Lab → · Contrast checker → · Palette generator →

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