#CC507F#CC507F

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

Color values

HEX#CC507F
RGBrgb(204, 80, 127)
HSLhsl(337, 55%, 56%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 60.8%, 37.7%, 20%)
CIE-LABlab(51.96, 53.45, -0.70)
CIE-LCHlch(51.96, 53.46, 359.25°)
OKLaboklab(60.71% 0.1632 -0.0012)
OKLCHoklch(60.71% 0.163 359.6)
XYZxyz(31.6032, 20.1105, 22.2920)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC507F #50CC9D
analogous
#CC50BD #CC507F #CC5F50
triadic
#CC507F #7FCC50 #507FCC
tetradic
#CC507F #BDCC50 #50CC9D #5F50CC
square
#CC507F #BDCC50 #50CC9D #5F50CC
split-complementary
#CC507F #50CC5F #50BDCC
monochromatic
#7D2446 #AD3261 #CC507F #DA7FA2 #E8AFC4

Accessibility & contrast

On white

4.18
#CC507F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CC507F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC507F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC507F#FFFFFF#000000##000000
##CC507F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#DC4462
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc507f;
/* rgb */ color: rgb(204, 80, 127);
/* oklch */ color: oklch(60.7% 0.163 359.6);
Tailwind
colors: {
  custom: {
    50: '#e087a4',
    500: '#cc507f',
    950: '#000000',
  },
}
SCSS
$custom: #cc507f;
$custom-light: #e087a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc507f",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 127
  },
  "hsl": {
    "h": 337.258,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.16318,
    "h": 359.6
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#CC507F
secondary
#A2D6C2
accent
#DEA64A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC507F

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

Preview Lab → · Contrast checker → · Palette generator →

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