#CC5079#CC5079

#CC5079 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.161 H 2.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC5079
RGBrgb(204, 80, 121)
HSLhsl(340, 55%, 56%)
HSVhsv(340, 61%, 80%)
CMYKcmyk(0%, 60.8%, 40.7%, 20%)
CIE-LABlab(51.79, 52.80, 2.64)
CIE-LCHlch(51.79, 52.87, 2.86°)
OKLaboklab(60.53% 0.1611 0.0075)
OKLCHoklch(60.53% 0.161 2.6)
XYZxyz(31.2237, 19.9587, 20.2936)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5079 #50CCA3
analogous
#CC50B7 #CC5079 #CC6550
triadic
#CC5079 #79CC50 #5079CC
tetradic
#CC5079 #B7CC50 #50CCA3 #6550CC
square
#CC5079 #B7CC50 #50CCA3 #6550CC
split-complementary
#CC5079 #50CC65 #50B7CC
monochromatic
#7D2442 #AD325B #CC5079 #DA7F9D #E8AFC2

Accessibility & contrast

On white

4.21
#CC5079 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC5079 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5079
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5079#FFFFFF#000000##000000
##CC50791.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#686C7A
Deuteranopia (green-blind)
#888476
Tritanopia (blue-blind)
#DC4360
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5079;
/* rgb */ color: rgb(204, 80, 121);
/* oklch */ color: oklch(60.5% 0.161 2.6);
Tailwind
colors: {
  custom: {
    50: '#e0879f',
    500: '#cc5079',
    950: '#000000',
  },
}
SCSS
$custom: #cc5079;
$custom-light: #e0879f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5079",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 340.161,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60529,
    "c": 0.16128,
    "h": 2.6
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#CC5079
secondary
#A2D6C5
accent
#DEAD4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5079

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

Preview Lab → · Contrast checker → · Palette generator →

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