#CC4D8F#CC4D8F

#CC4D8F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.174 H 351.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC4D8F
RGBrgb(204, 77, 143)
HSLhsl(329, 55%, 55%)
HSVhsv(329, 62%, 80%)
CMYKcmyk(0%, 62.3%, 29.9%, 20%)
CIE-LABlab(51.99, 56.65, -10.20)
CIE-LCHlch(51.99, 57.56, 349.79°)
OKLaboklab(60.9% 0.1723 -0.0264)
OKLCHoklch(60.9% 0.174 351.3)
XYZxyz(32.5152, 20.1317, 28.1547)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4D8F #4DCC8A
analogous
#CA4DCC #CC4D8F #CC4D4F
triadic
#CC4D8F #8FCC4D #4D8FCC
tetradic
#CC4D8F #CCCA4D #4DCC8A #4D4FCC
square
#CC4D8F #CCCA4D #4DCC8A #4D4FCC
split-complementary
#CC4D8F #4FCC4D #4DCCCA
monochromatic
#7B2351 #AB3170 #CC4D8F #DA7DAD #E7ACCB

Accessibility & contrast

On white

4.18
#CC4D8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC4D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4D8F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4D8F#FFFFFF#000000##000000
##CC4D8F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E91
Deuteranopia (green-blind)
#82848C
Tritanopia (blue-blind)
#DA4768
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4d8f;
/* rgb */ color: rgb(204, 77, 143);
/* oklch */ color: oklch(60.9% 0.174 351.3);
Tailwind
colors: {
  custom: {
    50: '#df86af',
    500: '#cc4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #cc4d8f;
$custom-light: #df86af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4d8f",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 328.819,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.17427,
    "h": 351.3
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#CC4D8F
secondary
#A0D5B9
accent
#DF9149
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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