#CC4D8A#CC4D8A

#CC4D8A is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.172 H 353.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC4D8A
RGBrgb(204, 77, 138)
HSLhsl(331, 55%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 62.3%, 32.4%, 20%)
CIE-LABlab(51.82, 56.04, -7.48)
CIE-LCHlch(51.82, 56.53, 352.40°)
OKLaboklab(60.72% 0.1708 -0.0191)
OKLCHoklch(60.72% 0.172 353.6)
XYZxyz(32.1448, 19.9835, 26.2042)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4D8A #4DCC8F
analogous
#CC4DCA #CC4D8A #CC4F4D
triadic
#CC4D8A #8ACC4D #4D8ACC
tetradic
#CC4D8A #CACC4D #4DCC8F #4F4DCC
square
#CC4D8A #CACC4D #4DCC8F #4F4DCC
split-complementary
#CC4D8A #4DCC4F #4DCACC
monochromatic
#7B234E #AB316C #CC4D8A #DA7DA9 #E7ACC9

Accessibility & contrast

On white

4.20
#CC4D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC4D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4D8A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4D8A#FFFFFF#000000##000000
##CC4D8A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8C
Deuteranopia (green-blind)
#838487
Tritanopia (blue-blind)
#DB4565
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4d8a;
/* rgb */ color: rgb(204, 77, 138);
/* oklch */ color: oklch(60.7% 0.172 353.6);
Tailwind
colors: {
  custom: {
    50: '#df86ac',
    500: '#cc4d8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4d8a;
$custom-light: #df86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4d8a",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 331.181,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.17186,
    "h": 353.6
  },
  "luminance": 0.1998
}

Semantic roles & 50–950 ramp

primary
#CC4D8A
secondary
#A0D5BB
accent
#DF9749
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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