#CC479B#CC479B

#CC479B is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.189 H 345.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC479B
RGBrgb(204, 71, 155)
HSLhsl(322, 57%, 54%)
HSVhsv(322, 65%, 80%)
CMYKcmyk(0%, 65.2%, 24%, 20%)
CIE-LABlab(51.51, 60.68, -18.03)
CIE-LCHlch(51.51, 63.30, 343.45°)
OKLaboklab(60.69% 0.183 -0.0478)
OKLCHoklch(60.69% 0.189 345.4)
XYZxyz(33.0727, 19.7137, 33.0673)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC479B #47CC78
analogous
#BB47CC #CC479B #CC4759
triadic
#CC479B #9BCC47 #479BCC
tetradic
#CC479B #CCBB47 #47CC78 #4759CC
square
#CC479B #CCBB47 #47CC78 #4759CC
split-complementary
#CC479B #59CC47 #47CCBB
monochromatic
#772158 #A72E7B #CC479B #D977B5 #E7A7CF

Accessibility & contrast

On white

4.25
#CC479B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC479B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC479B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC479B#FFFFFF#000000##000000
##CC479B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#556C9D
Deuteranopia (green-blind)
#7C8398
Tritanopia (blue-blind)
#D9456B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc479b;
/* rgb */ color: rgb(204, 71, 155);
/* oklch */ color: oklch(60.7% 0.189 345.4);
Tailwind
colors: {
  custom: {
    50: '#df83b8',
    500: '#cc479b',
    950: '#000000',
  },
}
SCSS
$custom: #cc479b;
$custom-light: #df83b8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc479b",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 322.105,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.18916,
    "h": 345.4
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

primary
#CC479B
secondary
#9BD4B0
accent
#E08048
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC479B

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

Preview Lab → · Contrast checker → · Palette generator →

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