#CC478F#CC478F

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

Color values

HEX#CC478F
RGBrgb(204, 71, 143)
HSLhsl(328, 57%, 54%)
HSVhsv(328, 65%, 80%)
CMYKcmyk(0%, 65.2%, 29.9%, 20%)
CIE-LABlab(51.07, 59.15, -11.57)
CIE-LCHlch(51.07, 60.27, 348.93°)
OKLaboklab(60.22% 0.18 -0.0301)
OKLCHoklch(60.22% 0.183 350.5)
XYZxyz(32.1145, 19.3304, 28.0212)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC478F #47CC84
analogous
#C747CC #CC478F #CC474D
triadic
#CC478F #8FCC47 #478FCC
tetradic
#CC478F #CCC747 #47CC84 #474DCC
square
#CC478F #CCC747 #47CC84 #474DCC
split-complementary
#CC478F #4DCC47 #47CCC7
monochromatic
#772150 #A72E70 #CC478F #D977AC #E7A7C9

Accessibility & contrast

On white

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

On black

4.87
#CC478F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC478F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC478F#FFFFFF#000000##000000
##CC478F1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#7F828C
Tritanopia (blue-blind)
#DA4065
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc478f;
/* rgb */ color: rgb(204, 71, 143);
/* oklch */ color: oklch(60.2% 0.183 350.5);
Tailwind
colors: {
  custom: {
    50: '#e083af',
    500: '#cc478f',
    950: '#000000',
  },
}
SCSS
$custom: #cc478f;
$custom-light: #e083af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc478f",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 327.519,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60222,
    "c": 0.18251,
    "h": 350.5
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC478F

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

Preview Lab → · Contrast checker → · Palette generator →

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