#CC5A8B#CC5A8B

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

Color values

HEX#CC5A8B
RGBrgb(204, 90, 139)
HSLhsl(334, 53%, 58%)
HSVhsv(334, 56%, 80%)
CMYKcmyk(0%, 55.9%, 31.9%, 20%)
CIE-LABlab(54.05, 50.28, -4.76)
CIE-LCHlch(54.05, 50.51, 354.59°)
OKLaboklab(62.39% 0.1529 -0.0119)
OKLCHoklch(62.39% 0.153 355.5)
XYZxyz(33.2198, 22.0170, 26.9213)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A8B #5ACC9B
analogous
#CC5AC4 #CC5A8B #CC625A
triadic
#CC5A8B #8BCC5A #5A8BCC
tetradic
#CC5A8B #C4CC5A #5ACC9B #625ACC
square
#CC5A8B #C4CC5A #5ACC9B #625ACC
split-complementary
#CC5A8B #5ACC62 #5AC4CC
monochromatic
#83294F #B2376C #CC5A8B #DA89AC #E9B7CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5A8B#FFFFFF#000000##000000
##CC5A8B1.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)
#6B748D
Deuteranopia (green-blind)
#898988
Tritanopia (blue-blind)
#DA536D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5a8b;
/* rgb */ color: rgb(204, 90, 139);
/* oklch */ color: oklch(62.4% 0.153 355.5);
Tailwind
colors: {
  custom: {
    50: '#df8dac',
    500: '#cc5a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a8b;
$custom-light: #df8dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a8b",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 139
  },
  "hsl": {
    "h": 334.211,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62385,
    "c": 0.15333,
    "h": 355.5
  },
  "luminance": 0.22014
}

Semantic roles & 50–950 ramp

primary
#CC5A8B
secondary
#AAD8C4
accent
#DC9E4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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