#CC5A78#CC5A78

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

Color values

HEX#CC5A78
RGBrgb(204, 90, 120)
HSLhsl(344, 53%, 58%)
HSVhsv(344, 56%, 80%)
CMYKcmyk(0%, 55.9%, 41.2%, 20%)
CIE-LABlab(53.50, 48.08, 5.70)
CIE-LCHlch(53.50, 48.41, 6.76°)
OKLaboklab(61.8% 0.1463 0.0152)
OKLCHoklch(61.8% 0.147 5.9)
XYZxyz(31.9502, 21.5092, 20.2348)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A78 #5ACCAE
analogous
#CC5AB1 #CC5A78 #CC755A
triadic
#CC5A78 #78CC5A #5A78CC
tetradic
#CC5A78 #B1CC5A #5ACCAE #755ACC
square
#CC5A78 #B1CC5A #5ACCAE #755ACC
split-complementary
#CC5A78 #5ACC75 #5AB1CC
monochromatic
#832940 #B23757 #CC5A78 #DA899E #E9B7C4

Accessibility & contrast

On white

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

On black

5.30
#CC5A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A78
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A78#FFFFFF#000000##000000
##CC5A781.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#DC4E65
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5a78;
/* rgb */ color: rgb(204, 90, 120);
/* oklch */ color: oklch(61.8% 0.147 5.9);
Tailwind
colors: {
  custom: {
    50: '#df8d9e',
    500: '#cc5a78',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a78;
$custom-light: #df8d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a78",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 120
  },
  "hsl": {
    "h": 344.211,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.618,
    "c": 0.14706,
    "h": 5.9
  },
  "luminance": 0.21506
}

Semantic roles & 50–950 ramp

primary
#CC5A78
secondary
#AAD8CC
accent
#DCB64C
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5A78

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

Preview Lab → · Contrast checker → · Palette generator →

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