#CC5A9F#CC5A9F

#CC5A9F is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.1% C 0.164 H 345.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CC5A9F
RGBrgb(204, 90, 159)
HSLhsl(324, 53%, 58%)
HSVhsv(324, 56%, 80%)
CMYKcmyk(0%, 55.9%, 22.1%, 20%)
CIE-LABlab(54.72, 52.95, -15.51)
CIE-LCHlch(54.72, 55.17, 343.67°)
OKLaboklab(63.11% 0.1588 -0.041)
OKLCHoklch(63.11% 0.164 345.5)
XYZxyz(34.8170, 22.6559, 35.3335)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A9F #5ACC87
analogous
#C05ACC #CC5A9F #CC5A66
triadic
#CC5A9F #9FCC5A #5A9FCC
tetradic
#CC5A9F #CCC05A #5ACC87 #5A66CC
square
#CC5A9F #CCC05A #5ACC87 #5A66CC
split-complementary
#CC5A9F #66CC5A #5ACCC0
monochromatic
#83295F #B23781 #CC5A9F #DA89BA #E9B7D5

Accessibility & contrast

On white

3.80
#CC5A9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CC5A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A9F
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A9F#FFFFFF#000000##000000
##CC5A9F1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6477A1
Deuteranopia (green-blind)
#848A9C
Tritanopia (blue-blind)
#D85975
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5a9f;
/* rgb */ color: rgb(204, 90, 159);
/* oklch */ color: oklch(63.1% 0.164 345.5);
Tailwind
colors: {
  custom: {
    50: '#de8dbb',
    500: '#cc5a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a9f;
$custom-light: #de8dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a9f",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 159
  },
  "hsl": {
    "h": 323.684,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63105,
    "c": 0.16398,
    "h": 345.5
  },
  "luminance": 0.22653
}

Semantic roles & 50–950 ramp

primary
#CC5A9F
secondary
#AAD8BC
accent
#DC854C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CC5A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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