#CC518A#CC518A

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

Color values

HEX#CC518A
RGBrgb(204, 81, 138)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 60.3%, 32.4%, 20%)
CIE-LABlab(52.47, 54.29, -6.51)
CIE-LCHlch(52.47, 54.68, 353.16°)
OKLaboklab(61.2% 0.1654 -0.0165)
OKLCHoklch(61.2% 0.166 354.3)
XYZxyz(32.4333, 20.5606, 26.3004)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC518A #51CC93
analogous
#CC51C8 #CC518A #CC5551
triadic
#CC518A #8ACC51 #518ACC
tetradic
#CC518A #C8CC51 #51CC93 #5551CC
square
#CC518A #C8CC51 #51CC93 #5551CC
split-complementary
#CC518A #51CC55 #51C8CC
monochromatic
#7E254E #AD336B #CC518A #DA80AA #E8B0CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC518A#FFFFFF#000000##000000
##CC518A1.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)
#646F8C
Deuteranopia (green-blind)
#858687
Tritanopia (blue-blind)
#DB4967
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc518a;
/* rgb */ color: rgb(204, 81, 138);
/* oklch */ color: oklch(61.2% 0.166 354.3);
Tailwind
colors: {
  custom: {
    50: '#df88ac',
    500: '#cc518a',
    950: '#000000',
  },
}
SCSS
$custom: #cc518a;
$custom-light: #df88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc518a",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 332.195,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.16618,
    "h": 354.3
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#CC518A
secondary
#A3D6BE
accent
#DE994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC518A

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

Preview Lab → · Contrast checker → · Palette generator →

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