#CC478A#CC478A

#CC478A is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.180 H 352.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC478A
RGBrgb(204, 71, 138)
HSLhsl(330, 57%, 54%)
HSVhsv(330, 65%, 80%)
CMYKcmyk(0%, 65.2%, 32.4%, 20%)
CIE-LABlab(50.90, 58.54, -8.85)
CIE-LCHlch(50.90, 59.21, 351.41°)
OKLaboklab(60.04% 0.1786 -0.0227)
OKLCHoklch(60.04% 0.18 352.8)
XYZxyz(31.7442, 19.1823, 26.0706)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC478A #47CC89
analogous
#CB47CC #CC478A #CC4748
triadic
#CC478A #8ACC47 #478ACC
tetradic
#CC478A #CCCB47 #47CC89 #4748CC
square
#CC478A #CCCB47 #47CC89 #4748CC
split-complementary
#CC478A #48CC47 #47CCCB
monochromatic
#77214D #A72E6B #CC478A #D977A8 #E7A7C7

Accessibility & contrast

On white

4.34
#CC478A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC478A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC478A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC478A#FFFFFF#000000##000000
##CC478A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#818287
Tritanopia (blue-blind)
#DB3E63
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc478a;
/* rgb */ color: rgb(204, 71, 138);
/* oklch */ color: oklch(60.0% 0.180 352.8);
Tailwind
colors: {
  custom: {
    50: '#e082ac',
    500: '#cc478a',
    950: '#000000',
  },
}
SCSS
$custom: #cc478a;
$custom-light: #e082ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc478a",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 329.774,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.18006,
    "h": 352.8
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#CC478A
secondary
#9BD4B7
accent
#E09348
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC478A

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

Preview Lab → · Contrast checker → · Palette generator →

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