#CC5071#CC5071

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

Color values

HEX#CC5071
RGBrgb(204, 80, 113)
HSLhsl(344, 55%, 56%)
HSVhsv(344, 61%, 80%)
CMYKcmyk(0%, 60.8%, 44.6%, 20%)
CIE-LABlab(51.58, 51.98, 7.12)
CIE-LCHlch(51.58, 52.46, 7.80°)
OKLaboklab(60.3% 0.1582 0.0188)
OKLCHoklch(60.3% 0.159 6.8)
XYZxyz(30.7533, 19.7706, 17.8162)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5071 #50CCAB
analogous
#CC50AF #CC5071 #CC6D50
triadic
#CC5071 #71CC50 #5071CC
tetradic
#CC5071 #AFCC50 #50CCAB #6D50CC
square
#CC5071 #AFCC50 #50CCAB #6D50CC
split-complementary
#CC5071 #50CC6D #50AFCC
monochromatic
#7D243C #AD3253 #CC5071 #DA7F97 #E8AFBE

Accessibility & contrast

On white

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

On black

4.95
#CC5071 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5071
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5071#FFFFFF#000000##000000
##CC50711.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C72
Deuteranopia (green-blind)
#8A846E
Tritanopia (blue-blind)
#DD405D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5071;
/* rgb */ color: rgb(204, 80, 113);
/* oklch */ color: oklch(60.3% 0.159 6.8);
Tailwind
colors: {
  custom: {
    50: '#e08799',
    500: '#cc5071',
    950: '#000000',
  },
}
SCSS
$custom: #cc5071;
$custom-light: #e08799;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5071",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 344.032,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.15933,
    "h": 6.8
  },
  "luminance": 0.19767
}

Semantic roles & 50–950 ramp

primary
#CC5071
secondary
#A2D6C8
accent
#DEB74A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CC5071

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

Preview Lab → · Contrast checker → · Palette generator →

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