#CC5AAA#CC5AAA

#CC5AAA is a light, vivid pink. Relative luminance 0.231; OKLCH L 63.5% C 0.171 H 340.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CC5AAA
RGBrgb(204, 90, 170)
HSLhsl(318, 53%, 58%)
HSVhsv(318, 56%, 80%)
CMYKcmyk(0%, 55.9%, 16.7%, 20%)
CIE-LABlab(55.13, 54.55, -21.30)
CIE-LCHlch(55.13, 58.56, 338.67°)
OKLaboklab(63.55% 0.1615 -0.0571)
OKLCHoklch(63.55% 0.171 340.5)
XYZxyz(35.8144, 23.0549, 40.5862)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AAA #5ACC7C
analogous
#B55ACC #CC5AAA #CC5A71
triadic
#CC5AAA #AACC5A #5AAACC
tetradic
#CC5AAA #CCB55A #5ACC7C #5A71CC
square
#CC5AAA #CCB55A #5ACC7C #5A71CC
split-complementary
#CC5AAA #71CC5A #5ACCB5
monochromatic
#832968 #B2378D #CC5AAA #DA89C2 #E9B7DA

Accessibility & contrast

On white

3.74
#CC5AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CC5AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AAA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AAA#FFFFFF#000000##000000
##CC5AAA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AD
Deuteranopia (green-blind)
#818BA7
Tritanopia (blue-blind)
#D75C7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc5aaa;
/* rgb */ color: rgb(204, 90, 170);
/* oklch */ color: oklch(63.5% 0.171 340.5);
Tailwind
colors: {
  custom: {
    50: '#de8ec3',
    500: '#cc5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aaa;
$custom-light: #de8ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aaa",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 317.895,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.63546,
    "c": 0.17125,
    "h": 340.5
  },
  "luminance": 0.23052
}

Semantic roles & 50–950 ramp

primary
#CC5AAA
secondary
#AAD8B8
accent
#DC774C
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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