#CC54A5#CC54A5

#CC54A5 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.6% C 0.177 H 342.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CC54A5
RGBrgb(204, 84, 165)
HSLhsl(320, 54%, 56%)
HSVhsv(320, 59%, 80%)
CMYKcmyk(0%, 58.8%, 19.1%, 20%)
CIE-LABlab(53.92, 56.55, -20.24)
CIE-LCHlch(53.92, 60.06, 340.31°)
OKLaboklab(62.59% 0.1685 -0.0541)
OKLCHoklch(62.59% 0.177 342.2)
XYZxyz(34.8645, 21.8977, 37.9805)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54A5 #54CC7B
analogous
#B754CC #CC54A5 #CC5469
triadic
#CC54A5 #A5CC54 #54A5CC
tetradic
#CC54A5 #CCB754 #54CC7B #5469CC
square
#CC54A5 #CCB754 #54CC7B #5469CC
split-complementary
#CC54A5 #69CC54 #54CCB7
monochromatic
#802662 #AF3487 #CC54A5 #DA83BE #E8B2D7

Accessibility & contrast

On white

3.90
#CC54A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CC54A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54A5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54A5#FFFFFF#000000##000000
##CC54A51.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A8
Deuteranopia (green-blind)
#7F88A2
Tritanopia (blue-blind)
#D85575
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc54a5;
/* rgb */ color: rgb(204, 84, 165);
/* oklch */ color: oklch(62.6% 0.177 342.2);
Tailwind
colors: {
  custom: {
    50: '#df8abf',
    500: '#cc54a5',
    950: '#000000',
  },
}
SCSS
$custom: #cc54a5;
$custom-light: #df8abf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54a5",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 165
  },
  "hsl": {
    "h": 319.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62588,
    "c": 0.17698,
    "h": 342.2
  },
  "luminance": 0.21895
}

Semantic roles & 50–950 ramp

primary
#CC54A5
secondary
#A5D7B5
accent
#DD7A4A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC54A5

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

Preview Lab → · Contrast checker → · Palette generator →

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