#CC4787#CC4787

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

Color values

HEX#CC4787
RGBrgb(204, 71, 135)
HSLhsl(331, 57%, 54%)
HSVhsv(331, 65%, 80%)
CMYKcmyk(0%, 65.2%, 33.8%, 20%)
CIE-LABlab(50.80, 58.19, -7.20)
CIE-LCHlch(50.80, 58.64, 352.95°)
OKLaboklab(59.93% 0.1777 -0.0183)
OKLCHoklch(59.93% 0.179 354.1)
XYZxyz(31.5300, 19.0966, 24.9425)
Luminance0.1909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4787 #47CC8C
analogous
#CC47CA #CC4787 #CC4A47
triadic
#CC4787 #87CC47 #4787CC
tetradic
#CC4787 #CACC47 #47CC8C #4A47CC
square
#CC4787 #CACC47 #47CC8C #4A47CC
split-complementary
#CC4787 #47CC4A #47CACC
monochromatic
#77214B #A72E69 #CC4787 #D977A6 #E7A7C6

Accessibility & contrast

On white

4.36
#CC4787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4787#FFFFFF#000000##000000
##CC47871.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6A89
Deuteranopia (green-blind)
#818284
Tritanopia (blue-blind)
#DB3D61
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4787;
/* rgb */ color: rgb(204, 71, 135);
/* oklch */ color: oklch(59.9% 0.179 354.1);
Tailwind
colors: {
  custom: {
    50: '#e082a9',
    500: '#cc4787',
    950: '#000000',
  },
}
SCSS
$custom: #cc4787;
$custom-light: #e082a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4787",
  "rgb": {
    "r": 204,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 331.128,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.17868,
    "h": 354.1
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4787

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

Preview Lab → · Contrast checker → · Palette generator →

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