#CC5189#CC5189

#CC5189 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.166 H 354.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#CC5189
RGBrgb(204, 81, 137)
HSLhsl(333, 55%, 56%)
HSVhsv(333, 60%, 80%)
CMYKcmyk(0%, 60.3%, 32.8%, 20%)
CIE-LABlab(52.43, 54.17, -5.97)
CIE-LCHlch(52.43, 54.50, 353.72°)
OKLaboklab(61.16% 0.1651 -0.015)
OKLCHoklch(61.16% 0.166 354.8)
XYZxyz(32.3613, 20.5318, 25.9208)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5189 #51CC94
analogous
#CC51C6 #CC5189 #CC5651
triadic
#CC5189 #89CC51 #5189CC
tetradic
#CC5189 #C6CC51 #51CC94 #5651CC
square
#CC5189 #C6CC51 #51CC94 #5651CC
split-complementary
#CC5189 #51CC56 #51C6CC
monochromatic
#7E254D #AD336A #CC5189 #DA80A9 #E8B0C9

Accessibility & contrast

On white

4.11
#CC5189 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CC5189 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5189
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5189#FFFFFF#000000##000000
##CC51891.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#646F8B
Deuteranopia (green-blind)
#858586
Tritanopia (blue-blind)
#DB4967
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5189;
/* rgb */ color: rgb(204, 81, 137);
/* oklch */ color: oklch(61.2% 0.166 354.8);
Tailwind
colors: {
  custom: {
    50: '#df88ab',
    500: '#cc5189',
    950: '#000000',
  },
}
SCSS
$custom: #cc5189;
$custom-light: #df88ab;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5189",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 332.683,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61163,
    "c": 0.16573,
    "h": 354.8
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5189

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

Preview Lab → · Contrast checker → · Palette generator →

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