#CC5498#CC5498

#CC5498 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.1% C 0.169 H 348.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CC5498
RGBrgb(204, 84, 152)
HSLhsl(326, 54%, 56%)
HSVhsv(326, 59%, 80%)
CMYKcmyk(0%, 58.8%, 25.5%, 20%)
CIE-LABlab(53.44, 54.74, -13.34)
CIE-LCHlch(53.44, 56.34, 346.30°)
OKLaboklab(62.07% 0.1653 -0.035)
OKLCHoklch(62.07% 0.169 348)
XYZxyz(33.7409, 21.4482, 32.0626)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5498 #54CC88
analogous
#C454CC #CC5498 #CC545C
triadic
#CC5498 #98CC54 #5498CC
tetradic
#CC5498 #CCC454 #54CC88 #545CCC
square
#CC5498 #CCC454 #54CC88 #545CCC
split-complementary
#CC5498 #5CCC54 #54CCC4
monochromatic
#802659 #AF347A #CC5498 #DA83B4 #E8B2D1

Accessibility & contrast

On white

3.97
#CC5498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CC5498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5498
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5498#FFFFFF#000000##000000
##CC54981.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#838795
Tritanopia (blue-blind)
#D9516F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5498;
/* rgb */ color: rgb(204, 84, 152);
/* oklch */ color: oklch(62.1% 0.169 348.0);
Tailwind
colors: {
  custom: {
    50: '#df8ab6',
    500: '#cc5498',
    950: '#000000',
  },
}
SCSS
$custom: #cc5498;
$custom-light: #df8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5498",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 326,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62074,
    "c": 0.16895,
    "h": 348
  },
  "luminance": 0.21445
}

Semantic roles & 50–950 ramp

primary
#CC5498
secondary
#A5D7BB
accent
#DD8A4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5498

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

Preview Lab → · Contrast checker → · Palette generator →

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