#CC5979#CC5979

#CC5979 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.7% C 0.149 H 5.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CC5979
RGBrgb(204, 89, 121)
HSLhsl(343, 53%, 57%)
HSVhsv(343, 56%, 80%)
CMYKcmyk(0%, 56.4%, 40.7%, 20%)
CIE-LABlab(53.35, 48.66, 4.88)
CIE-LCHlch(53.35, 48.90, 5.73°)
OKLaboklab(61.69% 0.1481 0.0132)
OKLCHoklch(61.69% 0.149 5.1)
XYZxyz(31.9274, 21.3660, 20.5281)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5979 #59CCAC
analogous
#CC59B3 #CC5979 #CC7259
triadic
#CC5979 #79CC59 #5979CC
tetradic
#CC5979 #B3CC59 #59CCAC #7259CC
square
#CC5979 #B3CC59 #59CCAC #7259CC
split-complementary
#CC5979 #59CC72 #59B3CC
monochromatic
#832841 #B13659 #CC5979 #DA889F #E9B7C5

Accessibility & contrast

On white

3.98
#CC5979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CC5979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5979
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5979#FFFFFF#000000##000000
##CC59791.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F717A
Deuteranopia (green-blind)
#8C8876
Tritanopia (blue-blind)
#DC4D65
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5979;
/* rgb */ color: rgb(204, 89, 121);
/* oklch */ color: oklch(61.7% 0.149 5.1);
Tailwind
colors: {
  custom: {
    50: '#df8c9f',
    500: '#cc5979',
    950: '#000000',
  },
}
SCSS
$custom: #cc5979;
$custom-light: #df8c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5979",
  "rgb": {
    "r": 204,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 343.304,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.1487,
    "h": 5.1
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#CC5979
secondary
#A9D8CB
accent
#DCB44B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5979

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

Preview Lab → · Contrast checker → · Palette generator →

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