#CC507C#CC507C

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

Color values

HEX#CC507C
RGBrgb(204, 80, 124)
HSLhsl(339, 55%, 56%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 60.8%, 39.2%, 20%)
CIE-LABlab(51.88, 53.12, 0.97)
CIE-LCHlch(51.88, 53.13, 1.04°)
OKLaboklab(60.62% 0.1622 0.0032)
OKLCHoklch(60.62% 0.162 1.1)
XYZxyz(31.4105, 20.0334, 21.2776)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC507C #50CCA0
analogous
#CC50BA #CC507C #CC6250
triadic
#CC507C #7CCC50 #507CCC
tetradic
#CC507C #BACC50 #50CCA0 #6250CC
square
#CC507C #BACC50 #50CCA0 #6250CC
split-complementary
#CC507C #50CC62 #50BACC
monochromatic
#7D2444 #AD325E #CC507C #DA7F9F #E8AFC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC507C#FFFFFF#000000##000000
##CC507C1.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)
#676D7D
Deuteranopia (green-blind)
#888479
Tritanopia (blue-blind)
#DC4461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc507c;
/* rgb */ color: rgb(204, 80, 124);
/* oklch */ color: oklch(60.6% 0.162 1.1);
Tailwind
colors: {
  custom: {
    50: '#e087a1',
    500: '#cc507c',
    950: '#000000',
  },
}
SCSS
$custom: #cc507c;
$custom-light: #e087a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc507c",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 124
  },
  "hsl": {
    "h": 338.71,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.16219,
    "h": 1.1
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC507C

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

Preview Lab → · Contrast checker → · Palette generator →

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