#CC5A8A#CC5A8A

#CC5A8A is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.4% C 0.153 H 356.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CC5A8A
RGBrgb(204, 90, 138)
HSLhsl(335, 53%, 58%)
HSVhsv(335, 56%, 80%)
CMYKcmyk(0%, 55.9%, 32.4%, 20%)
CIE-LABlab(54.01, 50.16, -4.22)
CIE-LCHlch(54.01, 50.33, 355.20°)
OKLaboklab(62.35% 0.1526 -0.0105)
OKLCHoklch(62.35% 0.153 356.1)
XYZxyz(33.1470, 21.9880, 26.5383)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A8A #5ACC9C
analogous
#CC5AC3 #CC5A8A #CC635A
triadic
#CC5A8A #8ACC5A #5A8ACC
tetradic
#CC5A8A #C3CC5A #5ACC9C #635ACC
square
#CC5A8A #C3CC5A #5ACC9C #635ACC
split-complementary
#CC5A8A #5ACC63 #5AC3CC
monochromatic
#83294F #B2376B #CC5A8A #DA89AB #E9B7CC

Accessibility & contrast

On white

3.89
#CC5A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CC5A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A8A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A8A#FFFFFF#000000##000000
##CC5A8A1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B748B
Deuteranopia (green-blind)
#898987
Tritanopia (blue-blind)
#DB526C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5a8a;
/* rgb */ color: rgb(204, 90, 138);
/* oklch */ color: oklch(62.4% 0.153 356.1);
Tailwind
colors: {
  custom: {
    50: '#df8dac',
    500: '#cc5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a8a;
$custom-light: #df8dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a8a",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 334.737,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62351,
    "c": 0.15291,
    "h": 356.1
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#CC5A8A
secondary
#AAD8C5
accent
#DC9F4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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