#CC54A2#CC54A2

#CC54A2 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.5% C 0.175 H 343.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CC54A2
RGBrgb(204, 84, 162)
HSLhsl(321, 54%, 56%)
HSVhsv(321, 59%, 80%)
CMYKcmyk(0%, 58.8%, 20.6%, 20%)
CIE-LABlab(53.80, 56.12, -18.66)
CIE-LCHlch(53.80, 59.14, 341.61°)
OKLaboklab(62.47% 0.1678 -0.0497)
OKLCHoklch(62.47% 0.175 343.5)
XYZxyz(34.5947, 21.7897, 36.5593)
Luminance0.2179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54A2 #54CC7E
analogous
#BA54CC #CC54A2 #CC5466
triadic
#CC54A2 #A2CC54 #54A2CC
tetradic
#CC54A2 #CCBA54 #54CC7E #5466CC
square
#CC54A2 #CCBA54 #54CC7E #5466CC
split-complementary
#CC54A2 #66CC54 #54CCBA
monochromatic
#802660 #AF3484 #CC54A2 #DA83BC #E8B2D5

Accessibility & contrast

On white

3.92
#CC54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CC54A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54A2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54A2#FFFFFF#000000##000000
##CC54A21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#D85474
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc54a2;
/* rgb */ color: rgb(204, 84, 162);
/* oklch */ color: oklch(62.5% 0.175 343.5);
Tailwind
colors: {
  custom: {
    50: '#df8abd',
    500: '#cc54a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc54a2;
$custom-light: #df8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54a2",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 321,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62465,
    "c": 0.17502,
    "h": 343.5
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#CC54A2
secondary
#A5D7B7
accent
#DD7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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