#CC507E#CC507E

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

Color values

HEX#CC507E
RGBrgb(204, 80, 126)
HSLhsl(338, 55%, 56%)
HSVhsv(338, 61%, 80%)
CMYKcmyk(0%, 60.8%, 38.2%, 20%)
CIE-LABlab(51.93, 53.34, -0.15)
CIE-LCHlch(51.93, 53.34, 359.84°)
OKLaboklab(60.68% 0.1628 0.0003)
OKLCHoklch(60.68% 0.163 0.1)
XYZxyz(31.5383, 20.0845, 21.9504)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC507E #50CC9E
analogous
#CC50BC #CC507E #CC6050
triadic
#CC507E #7ECC50 #507ECC
tetradic
#CC507E #BCCC50 #50CC9E #6050CC
square
#CC507E #BCCC50 #50CC9E #6050CC
split-complementary
#CC507E #50CC60 #50BCCC
monochromatic
#7D2445 #AD3260 #CC507E #DA7FA1 #E8AFC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC507E#FFFFFF#000000##000000
##CC507E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc507e;
/* rgb */ color: rgb(204, 80, 126);
/* oklch */ color: oklch(60.7% 0.163 0.1);
Tailwind
colors: {
  custom: {
    50: '#e087a3',
    500: '#cc507e',
    950: '#000000',
  },
}
SCSS
$custom: #cc507e;
$custom-light: #e087a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc507e",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 337.742,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.16284,
    "h": 0.1
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#CC507E
secondary
#A2D6C3
accent
#DEA74A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC507E

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

Preview Lab → · Contrast checker → · Palette generator →

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