#CC5FB8#CC5FB8

#CC5FB8 is a light, vivid pink. Relative luminance 0.245; OKLCH L 64.8% C 0.174 H 334.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CC5FB8
RGBrgb(204, 95, 184)
HSLhsl(311, 52%, 59%)
HSVhsv(311, 53%, 80%)
CMYKcmyk(0%, 53.4%, 9.8%, 20%)
CIE-LABlab(56.57, 54.39, -27.18)
CIE-LCHlch(56.57, 60.80, 333.45°)
OKLaboklab(64.8% 0.1575 -0.0737)
OKLCHoklch(64.8% 0.174 334.9)
XYZxyz(37.6459, 24.4851, 48.0814)
Luminance0.2448 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FB8 #5FCC73
analogous
#A95FCC #CC5FB8 #CC5F81
triadic
#CC5FB8 #B8CC5F #5FB8CC
tetradic
#CC5FB8 #CCA95F #5FCC73 #5F81CC
square
#CC5FB8 #CCA95F #5FCC73 #5F81CC
split-complementary
#CC5FB8 #81CC5F #5FCCA9
monochromatic
#862B75 #B4399E #CC5FB8 #DB8DCD #EABCE1

Accessibility & contrast

On white

3.56
#CC5FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CC5FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FB8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FB8#FFFFFF#000000##000000
##CC5FB81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7DBB
Deuteranopia (green-blind)
#7F8EB5
Tritanopia (blue-blind)
#D56583
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5fb8;
/* rgb */ color: rgb(204, 95, 184);
/* oklch */ color: oklch(64.8% 0.174 334.9);
Tailwind
colors: {
  custom: {
    50: '#de91cd',
    500: '#cc5fb8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fb8;
$custom-light: #de91cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fb8",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 311.009,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64797,
    "c": 0.17386,
    "h": 334.9
  },
  "luminance": 0.24482
}

Semantic roles & 50–950 ramp

primary
#CC5FB8
secondary
#AED9B6
accent
#DB674D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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