#CC478D#CC478D

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

Color values

HEX#CC478D
RGBrgb(204, 71, 141)
HSLhsl(328, 57%, 54%)
HSVhsv(328, 65%, 80%)
CMYKcmyk(0%, 65.2%, 30.9%, 20%)
CIE-LABlab(51.00, 58.90, -10.49)
CIE-LCHlch(51.00, 59.83, 349.91°)
OKLaboklab(60.15% 0.1795 -0.0271)
OKLCHoklch(60.15% 0.182 351.4)
XYZxyz(31.9644, 19.2704, 27.2303)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC478D #47CC86
analogous
#C947CC #CC478D #CC474B
triadic
#CC478D #8DCC47 #478DCC
tetradic
#CC478D #CCC947 #47CC86 #474BCC
square
#CC478D #CCC947 #47CC86 #474BCC
split-complementary
#CC478D #4BCC47 #47CCC9
monochromatic
#77214F #A72E6E #CC478D #D977AB #E7A7C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC478D#FFFFFF#000000##000000
##CC478D1.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)
#5B6A8F
Deuteranopia (green-blind)
#80828A
Tritanopia (blue-blind)
#DB4064
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc478d;
/* rgb */ color: rgb(204, 71, 141);
/* oklch */ color: oklch(60.1% 0.181 351.4);
Tailwind
colors: {
  custom: {
    50: '#e083ae',
    500: '#cc478d',
    950: '#000000',
  },
}
SCSS
$custom: #cc478d;
$custom-light: #e083ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc478d",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 328.421,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.1815,
    "h": 351.4
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC478D

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

Preview Lab → · Contrast checker → · Palette generator →

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