#CC507A#CC507A

#CC507A is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.6% C 0.162 H 2.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC507A
RGBrgb(204, 80, 122)
HSLhsl(340, 55%, 56%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 60.8%, 40.2%, 20%)
CIE-LABlab(51.82, 52.91, 2.08)
CIE-LCHlch(51.82, 52.95, 2.25°)
OKLaboklab(60.56% 0.1615 0.006)
OKLCHoklch(60.56% 0.162 2.1)
XYZxyz(31.2853, 19.9834, 20.6182)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC507A #50CCA2
analogous
#CC50B8 #CC507A #CC6450
triadic
#CC507A #7ACC50 #507ACC
tetradic
#CC507A #B8CC50 #50CCA2 #6450CC
square
#CC507A #B8CC50 #50CCA2 #6450CC
split-complementary
#CC507A #50CC64 #50B8CC
monochromatic
#7D2442 #AD325C #CC507A #DA7F9E #E8AFC2

Accessibility & contrast

On white

4.20
#CC507A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC507A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC507A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC507A#FFFFFF#000000##000000
##CC507A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7B
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#DC4360
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc507a;
/* rgb */ color: rgb(204, 80, 122);
/* oklch */ color: oklch(60.6% 0.162 2.1);
Tailwind
colors: {
  custom: {
    50: '#e087a0',
    500: '#cc507a',
    950: '#000000',
  },
}
SCSS
$custom: #cc507a;
$custom-light: #e087a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc507a",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 339.677,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.16157,
    "h": 2.1
  },
  "luminance": 0.1998
}

Semantic roles & 50–950 ramp

primary
#CC507A
secondary
#A2D6C4
accent
#DEAC4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC507A

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

Preview Lab → · Contrast checker → · Palette generator →

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