#CC548D#CC548D

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

Color values

HEX#CC548D
RGBrgb(204, 84, 141)
HSLhsl(332, 54%, 56%)
HSVhsv(332, 59%, 80%)
CMYKcmyk(0%, 58.8%, 30.9%, 20%)
CIE-LABlab(53.06, 53.31, -7.40)
CIE-LCHlch(53.06, 53.82, 352.10°)
OKLaboklab(61.67% 0.1621 -0.0189)
OKLCHoklch(61.67% 0.163 353.3)
XYZxyz(32.8814, 21.1044, 27.5360)
Luminance0.2110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC548D #54CC93
analogous
#CC54C9 #CC548D #CC5754
triadic
#CC548D #8DCC54 #548DCC
tetradic
#CC548D #C9CC54 #54CC93 #5754CC
square
#CC548D #C9CC54 #54CC93 #5754CC
split-complementary
#CC548D #54CC57 #54C9CC
monochromatic
#802651 #AF346E #CC548D #DA83AC #E8B2CC

Accessibility & contrast

On white

4.02
#CC548D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CC548D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC548D
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC548D#FFFFFF#000000##000000
##CC548D1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#65718F
Deuteranopia (green-blind)
#86878A
Tritanopia (blue-blind)
#DA4D6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc548d;
/* rgb */ color: rgb(204, 84, 141);
/* oklch */ color: oklch(61.7% 0.163 353.3);
Tailwind
colors: {
  custom: {
    50: '#df8aae',
    500: '#cc548d',
    950: '#000000',
  },
}
SCSS
$custom: #cc548d;
$custom-light: #df8aae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc548d",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 331.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.1632,
    "h": 353.3
  },
  "luminance": 0.21101
}

Semantic roles & 50–950 ramp

primary
#CC548D
secondary
#A5D7BF
accent
#DD984A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC548D

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

Preview Lab → · Contrast checker → · Palette generator →

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