#CC54AA#CC54AA

#CC54AA is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.8% C 0.180 H 340.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CC54AA
RGBrgb(204, 84, 170)
HSLhsl(317, 54%, 56%)
HSVhsv(317, 59%, 80%)
CMYKcmyk(0%, 58.8%, 16.7%, 20%)
CIE-LABlab(54.12, 57.28, -22.86)
CIE-LCHlch(54.12, 61.67, 338.25°)
OKLaboklab(62.8% 0.1696 -0.0614)
OKLCHoklch(62.8% 0.18 340.1)
XYZxyz(35.3285, 22.0833, 40.4243)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54AA #54CC76
analogous
#B254CC #CC54AA #CC546E
triadic
#CC54AA #AACC54 #54AACC
tetradic
#CC54AA #CCB254 #54CC76 #546ECC
square
#CC54AA #CCB254 #54CC76 #546ECC
split-complementary
#CC54AA #6ECC54 #54CCB2
monochromatic
#802666 #AF348C #CC54AA #DA83C1 #E8B2D9

Accessibility & contrast

On white

3.88
#CC54AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CC54AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54AA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54AA#FFFFFF#000000##000000
##CC54AA1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#7D88A7
Tritanopia (blue-blind)
#D75778
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc54aa;
/* rgb */ color: rgb(204, 84, 170);
/* oklch */ color: oklch(62.8% 0.180 340.1);
Tailwind
colors: {
  custom: {
    50: '#de8ac3',
    500: '#cc54aa',
    950: '#000000',
  },
}
SCSS
$custom: #cc54aa;
$custom-light: #de8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54aa",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 317,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62798,
    "c": 0.18038,
    "h": 340.1
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#CC54AA
secondary
#A5D7B3
accent
#DD744A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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