#CC548C#CC548C

#CC548C is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.6% C 0.163 H 353.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CC548C
RGBrgb(204, 84, 140)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 59%, 80%)
CMYKcmyk(0%, 58.8%, 31.4%, 20%)
CIE-LABlab(53.03, 53.19, -6.86)
CIE-LCHlch(53.03, 53.63, 352.65°)
OKLaboklab(61.64% 0.1618 -0.0174)
OKLCHoklch(61.64% 0.163 353.8)
XYZxyz(32.8073, 21.0748, 27.1459)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC548C #54CC94
analogous
#CC54C8 #CC548C #CC5854
triadic
#CC548C #8CCC54 #548CCC
tetradic
#CC548C #C8CC54 #54CC94 #5854CC
square
#CC548C #C8CC54 #54CC94 #5854CC
split-complementary
#CC548C #54CC58 #54C8CC
monochromatic
#802650 #AF346D #CC548C #DA83AC #E8B2CB

Accessibility & contrast

On white

4.03
#CC548C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CC548C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC548C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC548C#FFFFFF#000000##000000
##CC548C1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#DA4D6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc548c;
/* rgb */ color: rgb(204, 84, 140);
/* oklch */ color: oklch(61.6% 0.163 353.8);
Tailwind
colors: {
  custom: {
    50: '#df8aad',
    500: '#cc548c',
    950: '#000000',
  },
}
SCSS
$custom: #cc548c;
$custom-light: #df8aad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc548c",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 332,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.16273,
    "h": 353.8
  },
  "luminance": 0.21071
}

Semantic roles & 50–950 ramp

primary
#CC548C
secondary
#A5D7C0
accent
#DD994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC548C

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

Preview Lab → · Contrast checker → · Palette generator →

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