#CC518B#CC518B

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

Color values

HEX#CC518B
RGBrgb(204, 81, 139)
HSLhsl(332, 55%, 56%)
HSVhsv(332, 60%, 80%)
CMYKcmyk(0%, 60.3%, 31.9%, 20%)
CIE-LABlab(52.50, 54.41, -7.06)
CIE-LCHlch(52.50, 54.87, 352.61°)
OKLaboklab(61.23% 0.1657 -0.018)
OKLCHoklch(61.23% 0.167 353.8)
XYZxyz(32.5061, 20.5897, 26.6834)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC518B #51CC92
analogous
#CC51C9 #CC518B #CC5451
triadic
#CC518B #8BCC51 #518BCC
tetradic
#CC518B #C9CC51 #51CC92 #5451CC
square
#CC518B #C9CC51 #51CC92 #5451CC
split-complementary
#CC518B #51CC54 #51C9CC
monochromatic
#7E254F #AD336C #CC518B #DA80AB #E8B0CA

Accessibility & contrast

On white

4.10
#CC518B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CC518B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC518B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC518B#FFFFFF#000000##000000
##CC518B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#DB4968
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc518b;
/* rgb */ color: rgb(204, 81, 139);
/* oklch */ color: oklch(61.2% 0.167 353.8);
Tailwind
colors: {
  custom: {
    50: '#df88ac',
    500: '#cc518b',
    950: '#000000',
  },
}
SCSS
$custom: #cc518b;
$custom-light: #df88ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc518b",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 331.707,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.16664,
    "h": 353.8
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC518B

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

Preview Lab → · Contrast checker → · Palette generator →

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