#CC507D#CC507D

#CC507D is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.163 H 0.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC507D
RGBrgb(204, 80, 125)
HSLhsl(338, 55%, 56%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 60.8%, 38.7%, 20%)
CIE-LABlab(51.90, 53.23, 0.41)
CIE-LCHlch(51.90, 53.23, 0.44°)
OKLaboklab(60.65% 0.1625 0.0017)
OKLCHoklch(60.65% 0.163 0.6)
XYZxyz(31.4741, 20.0589, 21.6123)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC507D #50CC9F
analogous
#CC50BB #CC507D #CC6150
triadic
#CC507D #7DCC50 #507DCC
tetradic
#CC507D #BBCC50 #50CC9F #6150CC
square
#CC507D #BBCC50 #50CC9F #6150CC
split-complementary
#CC507D #50CC61 #50BBCC
monochromatic
#7D2445 #AD325F #CC507D #DA7FA0 #E8AFC3

Accessibility & contrast

On white

4.19
#CC507D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC507D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC507D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC507D#FFFFFF#000000##000000
##CC507D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7E
Deuteranopia (green-blind)
#87857A
Tritanopia (blue-blind)
#DC4461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc507d;
/* rgb */ color: rgb(204, 80, 125);
/* oklch */ color: oklch(60.7% 0.163 0.6);
Tailwind
colors: {
  custom: {
    50: '#e087a2',
    500: '#cc507d',
    950: '#000000',
  },
}
SCSS
$custom: #cc507d;
$custom-light: #e087a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc507d",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 125
  },
  "hsl": {
    "h": 338.226,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6065,
    "c": 0.16251,
    "h": 0.6
  },
  "luminance": 0.20055
}

Semantic roles & 50–950 ramp

primary
#CC507D
secondary
#A2D6C3
accent
#DEA84A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CC507D

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

Preview Lab → · Contrast checker → · Palette generator →

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