#CC5188#CC5188

#CC5188 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.165 H 355.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC5188
RGBrgb(204, 81, 136)
HSLhsl(333, 55%, 56%)
HSVhsv(333, 60%, 80%)
CMYKcmyk(0%, 60.3%, 33.3%, 20%)
CIE-LABlab(52.40, 54.05, -5.42)
CIE-LCHlch(52.40, 54.32, 354.28°)
OKLaboklab(61.13% 0.1647 -0.0136)
OKLCHoklch(61.13% 0.165 355.3)
XYZxyz(32.2899, 20.5032, 25.5448)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5188 #51CC95
analogous
#CC51C5 #CC5188 #CC5751
triadic
#CC5188 #88CC51 #5188CC
tetradic
#CC5188 #C5CC51 #51CC95 #5751CC
square
#CC5188 #C5CC51 #51CC95 #5751CC
split-complementary
#CC5188 #51CC57 #51C5CC
monochromatic
#7E254D #AD3369 #CC5188 #DA80A8 #E8B0C9

Accessibility & contrast

On white

4.12
#CC5188 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CC5188 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5188
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5188#FFFFFF#000000##000000
##CC51881.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8A
Deuteranopia (green-blind)
#868585
Tritanopia (blue-blind)
#DB4867
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5188;
/* rgb */ color: rgb(204, 81, 136);
/* oklch */ color: oklch(61.1% 0.165 355.3);
Tailwind
colors: {
  custom: {
    50: '#df88aa',
    500: '#cc5188',
    950: '#000000',
  },
}
SCSS
$custom: #cc5188;
$custom-light: #df88aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5188",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 136
  },
  "hsl": {
    "h": 333.171,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.16529,
    "h": 355.3
  },
  "luminance": 0.205
}

Semantic roles & 50–950 ramp

primary
#CC5188
secondary
#A3D6BF
accent
#DE9C4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5188

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

Preview Lab → · Contrast checker → · Palette generator →

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