#CC4B8A#CC4B8A

#CC4B8A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.175 H 353.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC4B8A
RGBrgb(204, 75, 138)
HSLhsl(331, 56%, 55%)
HSVhsv(331, 63%, 80%)
CMYKcmyk(0%, 63.2%, 32.4%, 20%)
CIE-LABlab(51.51, 56.89, -7.94)
CIE-LCHlch(51.51, 57.44, 352.05°)
OKLaboklab(60.49% 0.1735 -0.0203)
OKLCHoklch(60.49% 0.175 353.3)
XYZxyz(32.0070, 19.7079, 26.1582)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4B8A #4BCC8D
analogous
#CC4BCA #CC4B8A #CC4D4B
triadic
#CC4B8A #8ACC4B #4B8ACC
tetradic
#CC4B8A #CACC4B #4BCC8D #4D4BCC
square
#CC4B8A #CACC4B #4BCC8D #4D4BCC
split-complementary
#CC4B8A #4BCC4D #4BCACC
monochromatic
#7A234D #AA306B #CC4B8A #DA7BA9 #E7AAC8

Accessibility & contrast

On white

4.25
#CC4B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC4B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4B8A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4B8A#FFFFFF#000000##000000
##CC4B8A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6C8C
Deuteranopia (green-blind)
#828387
Tritanopia (blue-blind)
#DB4364
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4b8a;
/* rgb */ color: rgb(204, 75, 138);
/* oklch */ color: oklch(60.5% 0.175 353.3);
Tailwind
colors: {
  custom: {
    50: '#df85ac',
    500: '#cc4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4b8a;
$custom-light: #df85ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4b8a",
  "rgb": {
    "r": 204,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 330.698,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.17464,
    "h": 353.3
  },
  "luminance": 0.19705
}

Semantic roles & 50–950 ramp

primary
#CC4B8A
secondary
#9ED5BA
accent
#DF9649
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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