#CC478B#CC478B

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

Color values

HEX#CC478B
RGBrgb(204, 71, 139)
HSLhsl(329, 57%, 54%)
HSVhsv(329, 65%, 80%)
CMYKcmyk(0%, 65.2%, 31.9%, 20%)
CIE-LABlab(50.93, 58.66, -9.39)
CIE-LCHlch(50.93, 59.41, 350.90°)
OKLaboklab(60.08% 0.1789 -0.0242)
OKLCHoklch(60.08% 0.181 352.3)
XYZxyz(31.8169, 19.2114, 26.4537)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC478B #47CC88
analogous
#CB47CC #CC478B #CC4749
triadic
#CC478B #8BCC47 #478BCC
tetradic
#CC478B #CCCB47 #47CC88 #4749CC
square
#CC478B #CCCB47 #47CC88 #4749CC
split-complementary
#CC478B #49CC47 #47CCCB
monochromatic
#77214D #A72E6C #CC478B #D977A9 #E7A7C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC478B#FFFFFF#000000##000000
##CC478B1.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)
#5B6A8D
Deuteranopia (green-blind)
#808288
Tritanopia (blue-blind)
#DB3F63
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc478b;
/* rgb */ color: rgb(204, 71, 139);
/* oklch */ color: oklch(60.1% 0.181 352.3);
Tailwind
colors: {
  custom: {
    50: '#e082ac',
    500: '#cc478b',
    950: '#000000',
  },
}
SCSS
$custom: #cc478b;
$custom-light: #e082ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc478b",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 329.323,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60075,
    "c": 0.18053,
    "h": 352.3
  },
  "luminance": 0.19208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC478B

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

Preview Lab → · Contrast checker → · Palette generator →

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