#CC478E#CC478E

#CC478E is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.182 H 351.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CC478E
RGBrgb(204, 71, 142)
HSLhsl(328, 57%, 54%)
HSVhsv(328, 65%, 80%)
CMYKcmyk(0%, 65.2%, 30.4%, 20%)
CIE-LABlab(51.04, 59.03, -11.03)
CIE-LCHlch(51.04, 60.05, 349.41°)
OKLaboklab(60.19% 0.1797 -0.0286)
OKLCHoklch(60.19% 0.182 351)
XYZxyz(32.0391, 19.3003, 27.6240)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC478E #47CC85
analogous
#C847CC #CC478E #CC474C
triadic
#CC478E #8ECC47 #478ECC
tetradic
#CC478E #CCC847 #47CC85 #474CCC
square
#CC478E #CCC847 #47CC85 #474CCC
split-complementary
#CC478E #4CCC47 #47CCC8
monochromatic
#77214F #A72E6F #CC478E #D977AB #E7A7C9

Accessibility & contrast

On white

4.32
#CC478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CC478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC478E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC478E#FFFFFF#000000##000000
##CC478E1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A90
Deuteranopia (green-blind)
#80828B
Tritanopia (blue-blind)
#DB4064
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc478e;
/* rgb */ color: rgb(204, 71, 142);
/* oklch */ color: oklch(60.2% 0.182 351.0);
Tailwind
colors: {
  custom: {
    50: '#e083af',
    500: '#cc478e',
    950: '#000000',
  },
}
SCSS
$custom: #cc478e;
$custom-light: #e083af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc478e",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 327.97,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.182,
    "h": 351
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#CC478E
secondary
#9BD4B5
accent
#E08F48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC478E

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

Preview Lab → · Contrast checker → · Palette generator →

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