#CC478C#CC478C

#CC478C is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.1% C 0.181 H 351.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CC478C
RGBrgb(204, 71, 140)
HSLhsl(329, 57%, 54%)
HSVhsv(329, 65%, 80%)
CMYKcmyk(0%, 65.2%, 31.4%, 20%)
CIE-LABlab(50.97, 58.78, -9.94)
CIE-LCHlch(50.97, 59.62, 350.40°)
OKLaboklab(60.11% 0.1792 -0.0257)
OKLCHoklch(60.11% 0.181 351.9)
XYZxyz(31.8903, 19.2407, 26.8403)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC478C #47CC87
analogous
#CA47CC #CC478C #CC474A
triadic
#CC478C #8CCC47 #478CCC
tetradic
#CC478C #CCCA47 #47CC87 #474ACC
square
#CC478C #CCCA47 #47CC87 #474ACC
split-complementary
#CC478C #4ACC47 #47CCCA
monochromatic
#77214E #A72E6D #CC478C #D977AA #E7A7C8

Accessibility & contrast

On white

4.33
#CC478C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CC478C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC478C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC478C#FFFFFF#000000##000000
##CC478C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DB3F64
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc478c;
/* rgb */ color: rgb(204, 71, 140);
/* oklch */ color: oklch(60.1% 0.181 351.9);
Tailwind
colors: {
  custom: {
    50: '#e082ad',
    500: '#cc478c',
    950: '#000000',
  },
}
SCSS
$custom: #cc478c;
$custom-light: #e082ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc478c",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 328.872,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.18102,
    "h": 351.9
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#CC478C
secondary
#9BD4B6
accent
#E09148
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC478C

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

Preview Lab → · Contrast checker → · Palette generator →

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