#CC4788#CC4788

#CC4788 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.0% C 0.179 H 353.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC4788
RGBrgb(204, 71, 136)
HSLhsl(331, 57%, 54%)
HSVhsv(331, 65%, 80%)
CMYKcmyk(0%, 65.2%, 33.3%, 20%)
CIE-LABlab(50.83, 58.31, -7.75)
CIE-LCHlch(50.83, 58.82, 352.43°)
OKLaboklab(59.97% 0.178 -0.0198)
OKLCHoklch(59.97% 0.179 353.7)
XYZxyz(31.6007, 19.1249, 25.3151)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4788 #47CC8B
analogous
#CC47CB #CC4788 #CC4947
triadic
#CC4788 #88CC47 #4788CC
tetradic
#CC4788 #CBCC47 #47CC8B #4947CC
square
#CC4788 #CBCC47 #47CC8B #4947CC
split-complementary
#CC4788 #47CC49 #47CBCC
monochromatic
#77214B #A72E6A #CC4788 #D977A7 #E7A7C6

Accessibility & contrast

On white

4.35
#CC4788 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CC4788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4788
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4788#FFFFFF#000000##000000
##CC47881.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8A
Deuteranopia (green-blind)
#818285
Tritanopia (blue-blind)
#DB3E62
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4788;
/* rgb */ color: rgb(204, 71, 136);
/* oklch */ color: oklch(60.0% 0.179 353.7);
Tailwind
colors: {
  custom: {
    50: '#e082aa',
    500: '#cc4788',
    950: '#000000',
  },
}
SCSS
$custom: #cc4788;
$custom-light: #e082aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4788",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 330.677,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.17912,
    "h": 353.7
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#CC4788
secondary
#9BD4B8
accent
#E09648
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4788

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

Preview Lab → · Contrast checker → · Palette generator →

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