#CC5072#CC5072

#CC5072 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.160 H 6.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC5072
RGBrgb(204, 80, 114)
HSLhsl(344, 55%, 56%)
HSVhsv(344, 61%, 80%)
CMYKcmyk(0%, 60.8%, 44.1%, 20%)
CIE-LABlab(51.60, 52.08, 6.56)
CIE-LCHlch(51.60, 52.49, 7.18°)
OKLaboklab(60.33% 0.1586 0.0174)
OKLCHoklch(60.33% 0.16 6.3)
XYZxyz(30.8099, 19.7932, 18.1143)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5072 #50CCAA
analogous
#CC50B0 #CC5072 #CC6C50
triadic
#CC5072 #72CC50 #5072CC
tetradic
#CC5072 #B0CC50 #50CCAA #6C50CC
square
#CC5072 #B0CC50 #50CCAA #6C50CC
split-complementary
#CC5072 #50CC6C #50B0CC
monochromatic
#7D243D #AD3254 #CC5072 #DA7F98 #E8AFBE

Accessibility & contrast

On white

4.24
#CC5072 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC5072 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5072
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5072#FFFFFF#000000##000000
##CC50721.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C73
Deuteranopia (green-blind)
#8A846F
Tritanopia (blue-blind)
#DD415D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5072;
/* rgb */ color: rgb(204, 80, 114);
/* oklch */ color: oklch(60.3% 0.160 6.3);
Tailwind
colors: {
  custom: {
    50: '#e0879a',
    500: '#cc5072',
    950: '#000000',
  },
}
SCSS
$custom: #cc5072;
$custom-light: #e0879a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5072",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 114
  },
  "hsl": {
    "h": 343.548,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60327,
    "c": 0.15954,
    "h": 6.3
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#CC5072
secondary
#A2D6C8
accent
#DEB54A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5072

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

Preview Lab → · Contrast checker → · Palette generator →

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