#CC5A79#CC5A79

#CC5A79 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.8% C 0.147 H 5.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CC5A79
RGBrgb(204, 90, 121)
HSLhsl(344, 53%, 58%)
HSVhsv(344, 56%, 80%)
CMYKcmyk(0%, 55.9%, 40.7%, 20%)
CIE-LABlab(53.53, 48.18, 5.14)
CIE-LCHlch(53.53, 48.46, 6.09°)
OKLaboklab(61.83% 0.1466 0.0138)
OKLCHoklch(61.83% 0.147 5.4)
XYZxyz(32.0112, 21.5336, 20.5560)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A79 #5ACCAD
analogous
#CC5AB2 #CC5A79 #CC745A
triadic
#CC5A79 #79CC5A #5A79CC
tetradic
#CC5A79 #B2CC5A #5ACCAD #745ACC
square
#CC5A79 #B2CC5A #5ACCAD #745ACC
split-complementary
#CC5A79 #5ACC74 #5AB2CC
monochromatic
#832941 #B23758 #CC5A79 #DA899F #E9B7C5

Accessibility & contrast

On white

3.96
#CC5A79 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CC5A79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A79
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A79#FFFFFF#000000##000000
##CC5A791.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F727A
Deuteranopia (green-blind)
#8D8876
Tritanopia (blue-blind)
#DC4E66
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5a79;
/* rgb */ color: rgb(204, 90, 121);
/* oklch */ color: oklch(61.8% 0.147 5.4);
Tailwind
colors: {
  custom: {
    50: '#df8d9f',
    500: '#cc5a79',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a79;
$custom-light: #df8d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a79",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 121
  },
  "hsl": {
    "h": 343.684,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.14729,
    "h": 5.4
  },
  "luminance": 0.2153
}

Semantic roles & 50–950 ramp

primary
#CC5A79
secondary
#AAD8CB
accent
#DCB54C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5A79

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

Preview Lab → · Contrast checker → · Palette generator →

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