#CC5A8D#CC5A8D

#CC5A8D is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.5% C 0.154 H 354.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CC5A8D
RGBrgb(204, 90, 141)
HSLhsl(333, 53%, 58%)
HSVhsv(333, 56%, 80%)
CMYKcmyk(0%, 55.9%, 30.9%, 20%)
CIE-LABlab(54.11, 50.53, -5.85)
CIE-LCHlch(54.11, 50.87, 353.40°)
OKLaboklab(62.45% 0.1535 -0.0148)
OKLCHoklch(62.45% 0.154 354.5)
XYZxyz(33.3672, 22.0760, 27.6980)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A8D #5ACC99
analogous
#CC5AC6 #CC5A8D #CC605A
triadic
#CC5A8D #8DCC5A #5A8DCC
tetradic
#CC5A8D #C6CC5A #5ACC99 #605ACC
square
#CC5A8D #C6CC5A #5ACC99 #605ACC
split-complementary
#CC5A8D #5ACC60 #5AC6CC
monochromatic
#832951 #B2376E #CC5A8D #DA89AD #E9B7CE

Accessibility & contrast

On white

3.88
#CC5A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CC5A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A8D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A8D#FFFFFF#000000##000000
##CC5A8D1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A748F
Deuteranopia (green-blind)
#89898A
Tritanopia (blue-blind)
#DA536E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5a8d;
/* rgb */ color: rgb(204, 90, 141);
/* oklch */ color: oklch(62.5% 0.154 354.5);
Tailwind
colors: {
  custom: {
    50: '#df8dae',
    500: '#cc5a8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a8d;
$custom-light: #df8dae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a8d",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 333.158,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.15422,
    "h": 354.5
  },
  "luminance": 0.22073
}

Semantic roles & 50–950 ramp

primary
#CC5A8D
secondary
#AAD8C3
accent
#DC9C4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CC5A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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