#CC5895#CC5895

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

Color values

HEX#CC5895
RGBrgb(204, 88, 149)
HSLhsl(328, 53%, 57%)
HSVhsv(328, 57%, 80%)
CMYKcmyk(0%, 56.9%, 27%, 20%)
CIE-LABlab(54.02, 52.51, -10.70)
CIE-LCHlch(54.02, 53.59, 348.48°)
OKLaboklab(62.47% 0.1588 -0.0278)
OKLCHoklch(62.47% 0.161 350.1)
XYZxyz(33.8177, 21.9899, 30.8914)
Luminance0.2199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5895 #58CC8F
analogous
#C958CC #CC5895 #CC585B
triadic
#CC5895 #95CC58 #5895CC
tetradic
#CC5895 #CCC958 #58CC8F #585BCC
square
#CC5895 #CCC958 #58CC8F #585BCC
split-complementary
#CC5895 #5BCC58 #58CCC9
monochromatic
#822857 #B13677 #CC5895 #DA87B3 #E9B6D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5895#FFFFFF#000000##000000
##CC58951.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)
#667497
Deuteranopia (green-blind)
#868992
Tritanopia (blue-blind)
#D95470
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5895;
/* rgb */ color: rgb(204, 88, 149);
/* oklch */ color: oklch(62.5% 0.161 350.1);
Tailwind
colors: {
  custom: {
    50: '#df8cb4',
    500: '#cc5895',
    950: '#000000',
  },
}
SCSS
$custom: #cc5895;
$custom-light: #df8cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5895",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 328.448,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6247,
    "c": 0.16125,
    "h": 350.1
  },
  "luminance": 0.21987
}

Semantic roles & 50–950 ramp

primary
#CC5895
secondary
#A8D7BF
accent
#DD904B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5895

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

Preview Lab → · Contrast checker → · Palette generator →

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