#CC54AF#CC54AF

#CC54AF is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.184 H 338.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CC54AF
RGBrgb(204, 84, 175)
HSLhsl(315, 54%, 56%)
HSVhsv(315, 59%, 80%)
CMYKcmyk(0%, 58.8%, 14.2%, 20%)
CIE-LABlab(54.32, 58.03, -25.45)
CIE-LCHlch(54.32, 63.37, 336.32°)
OKLaboklab(63.01% 0.1706 -0.0687)
OKLCHoklch(63.01% 0.184 338.1)
XYZxyz(35.8105, 22.2761, 42.9628)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54AF #54CC71
analogous
#AD54CC #CC54AF #CC5473
triadic
#CC54AF #AFCC54 #54AFCC
tetradic
#CC54AF #CCAD54 #54CC71 #5473CC
square
#CC54AF #CCAD54 #54CC71 #5473CC
split-complementary
#CC54AF #73CC54 #54CCAD
monochromatic
#80266A #AF3491 #CC54AF #DA83C5 #E8B2DB

Accessibility & contrast

On white

3.85
#CC54AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CC54AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54AF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54AF#FFFFFF#000000##000000
##CC54AF1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7C89AC
Tritanopia (blue-blind)
#D6587A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc54af;
/* rgb */ color: rgb(204, 84, 175);
/* oklch */ color: oklch(63.0% 0.184 338.1);
Tailwind
colors: {
  custom: {
    50: '#de8ac7',
    500: '#cc54af',
    950: '#000000',
  },
}
SCSS
$custom: #cc54af;
$custom-light: #de8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54af",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 314.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63014,
    "c": 0.18392,
    "h": 338.1
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

primary
#CC54AF
secondary
#A5D7B1
accent
#DD6E4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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