#CC5478#CC5478

#CC5478 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.0% C 0.155 H 4.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CC5478
RGBrgb(204, 84, 120)
HSLhsl(342, 54%, 56%)
HSVhsv(342, 59%, 80%)
CMYKcmyk(0%, 58.8%, 41.2%, 20%)
CIE-LABlab(52.44, 50.88, 4.17)
CIE-LCHlch(52.44, 51.06, 4.69°)
OKLaboklab(61% 0.1551 0.0114)
OKLCHoklch(61% 0.155 4.2)
XYZxyz(31.4643, 20.5376, 20.0728)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5478 #54CCA8
analogous
#CC54B4 #CC5478 #CC6C54
triadic
#CC5478 #78CC54 #5478CC
tetradic
#CC5478 #B4CC54 #54CCA8 #6C54CC
square
#CC5478 #B4CC54 #54CCA8 #6C54CC
split-complementary
#CC5478 #54CC6C #54B4CC
monochromatic
#802641 #AF3459 #CC5478 #DA839D #E8B2C2

Accessibility & contrast

On white

4.11
#CC5478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CC5478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5478
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5478#FFFFFF#000000##000000
##CC54781.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B6F79
Deuteranopia (green-blind)
#8A8675
Tritanopia (blue-blind)
#DC4762
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5478;
/* rgb */ color: rgb(204, 84, 120);
/* oklch */ color: oklch(61.0% 0.155 4.2);
Tailwind
colors: {
  custom: {
    50: '#e0899e',
    500: '#cc5478',
    950: '#000000',
  },
}
SCSS
$custom: #cc5478;
$custom-light: #e0899e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5478",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 342,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61004,
    "c": 0.15549,
    "h": 4.2
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#CC5478
secondary
#A5D7C8
accent
#DDB14A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5478

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

Preview Lab → · Contrast checker → · Palette generator →

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