#CC548A#CC548A

#CC548A is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.162 H 354.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CC548A
RGBrgb(204, 84, 138)
HSLhsl(333, 54%, 56%)
HSVhsv(333, 59%, 80%)
CMYKcmyk(0%, 58.8%, 32.4%, 20%)
CIE-LABlab(52.97, 52.94, -5.77)
CIE-LCHlch(52.97, 53.26, 353.78°)
OKLaboklab(61.57% 0.1612 -0.0145)
OKLCHoklch(61.57% 0.162 354.8)
XYZxyz(32.6612, 21.0163, 26.3763)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC548A #54CC96
analogous
#CC54C6 #CC548A #CC5A54
triadic
#CC548A #8ACC54 #548ACC
tetradic
#CC548A #C6CC54 #54CC96 #5A54CC
square
#CC548A #C6CC54 #54CC96 #5A54CC
split-complementary
#CC548A #54CC5A #54C6CC
monochromatic
#80264E #AF346B #CC548A #DA83AA #E8B2CB

Accessibility & contrast

On white

4.04
#CC548A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CC548A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC548A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC548A#FFFFFF#000000##000000
##CC548A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718C
Deuteranopia (green-blind)
#868787
Tritanopia (blue-blind)
#DB4C69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc548a;
/* rgb */ color: rgb(204, 84, 138);
/* oklch */ color: oklch(61.6% 0.162 354.8);
Tailwind
colors: {
  custom: {
    50: '#df8aac',
    500: '#cc548a',
    950: '#000000',
  },
}
SCSS
$custom: #cc548a;
$custom-light: #df8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc548a",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 333,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61571,
    "c": 0.16182,
    "h": 354.8
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC548A

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

Preview Lab → · Contrast checker → · Palette generator →

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