#CC5A98#CC5A98

#CC5A98 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.160 H 348.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CC5A98
RGBrgb(204, 90, 152)
HSLhsl(327, 53%, 58%)
HSVhsv(327, 56%, 80%)
CMYKcmyk(0%, 55.9%, 25.5%, 20%)
CIE-LABlab(54.47, 51.97, -11.78)
CIE-LCHlch(54.47, 53.29, 347.23°)
OKLaboklab(62.84% 0.1568 -0.0308)
OKLCHoklch(62.84% 0.16 348.9)
XYZxyz(34.2267, 22.4198, 32.2245)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A98 #5ACC8E
analogous
#C75ACC #CC5A98 #CC5A5F
triadic
#CC5A98 #98CC5A #5A98CC
tetradic
#CC5A98 #CCC75A #5ACC8E #5A5FCC
square
#CC5A98 #CCC75A #5ACC8E #5A5FCC
split-complementary
#CC5A98 #5FCC5A #5ACCC7
monochromatic
#83295A #B2377A #CC5A98 #DA89B5 #E9B7D2

Accessibility & contrast

On white

3.83
#CC5A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CC5A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A98
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A98#FFFFFF#000000##000000
##CC5A981.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#868A95
Tritanopia (blue-blind)
#D95672
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc5a98;
/* rgb */ color: rgb(204, 90, 152);
/* oklch */ color: oklch(62.8% 0.160 348.9);
Tailwind
colors: {
  custom: {
    50: '#df8db6',
    500: '#cc5a98',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a98;
$custom-light: #df8db6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a98",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 327.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.15983,
    "h": 348.9
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#CC5A98
secondary
#AAD8BF
accent
#DC8E4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CC5A98

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

Preview Lab → · Contrast checker → · Palette generator →

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