#CC548F#CC548F

#CC548F is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.164 H 352.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CC548F
RGBrgb(204, 84, 143)
HSLhsl(331, 54%, 56%)
HSVhsv(331, 59%, 80%)
CMYKcmyk(0%, 58.8%, 29.9%, 20%)
CIE-LABlab(53.13, 53.56, -8.49)
CIE-LCHlch(53.13, 54.23, 351.00°)
OKLaboklab(61.74% 0.1627 -0.0218)
OKLCHoklch(61.74% 0.164 352.4)
XYZxyz(33.0316, 21.1645, 28.3268)
Luminance0.2116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC548F #54CC91
analogous
#CC54CB #CC548F #CC5554
triadic
#CC548F #8FCC54 #548FCC
tetradic
#CC548F #CBCC54 #54CC91 #5554CC
square
#CC548F #CBCC54 #54CC91 #5554CC
split-complementary
#CC548F #54CC55 #54CBCC
monochromatic
#802652 #AF3470 #CC548F #DA83AE #E8B2CD

Accessibility & contrast

On white

4.01
#CC548F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CC548F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC548F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC548F#FFFFFF#000000##000000
##CC548F1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#657191
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#DA4E6B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc548f;
/* rgb */ color: rgb(204, 84, 143);
/* oklch */ color: oklch(61.7% 0.164 352.4);
Tailwind
colors: {
  custom: {
    50: '#df8aaf',
    500: '#cc548f',
    950: '#000000',
  },
}
SCSS
$custom: #cc548f;
$custom-light: #df8aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc548f",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 330.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61744,
    "c": 0.16417,
    "h": 352.4
  },
  "luminance": 0.21161
}

Semantic roles & 50–950 ramp

primary
#CC548F
secondary
#A5D7BE
accent
#DD954A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC548F

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

Preview Lab → · Contrast checker → · Palette generator →

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