#CC518F#CC518F

#CC518F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.169 H 351.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC518F
RGBrgb(204, 81, 143)
HSLhsl(330, 55%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 60.3%, 29.9%, 20%)
CIE-LABlab(52.63, 54.91, -9.24)
CIE-LCHlch(52.63, 55.68, 350.45°)
OKLaboklab(61.37% 0.1669 -0.0238)
OKLCHoklch(61.37% 0.169 351.9)
XYZxyz(32.8037, 20.7087, 28.2509)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC518F #51CC8E
analogous
#CB51CC #CC518F #CC5151
triadic
#CC518F #8FCC51 #518FCC
tetradic
#CC518F #CCCB51 #51CC8E #5151CC
square
#CC518F #CCCB51 #51CC8E #5151CC
split-complementary
#CC518F #51CC51 #51CCCB
monochromatic
#7E2552 #AD3370 #CC518F #DA80AD #E8B0CC

Accessibility & contrast

On white

4.08
#CC518F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CC518F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC518F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC518F#FFFFFF#000000##000000
##CC518F1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#84868C
Tritanopia (blue-blind)
#DA4B6A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc518f;
/* rgb */ color: rgb(204, 81, 143);
/* oklch */ color: oklch(61.4% 0.169 351.9);
Tailwind
colors: {
  custom: {
    50: '#df88af',
    500: '#cc518f',
    950: '#000000',
  },
}
SCSS
$custom: #cc518f;
$custom-light: #df88af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc518f",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 329.756,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.16855,
    "h": 351.9
  },
  "luminance": 0.20705
}

Semantic roles & 50–950 ramp

primary
#CC518F
secondary
#A3D6BC
accent
#DE934A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC518F

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

Preview Lab → · Contrast checker → · Palette generator →

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