#CC5078#CC5078

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

Color values

HEX#CC5078
RGBrgb(204, 80, 120)
HSLhsl(341, 55%, 56%)
HSVhsv(341, 61%, 80%)
CMYKcmyk(0%, 60.8%, 41.2%, 20%)
CIE-LABlab(51.76, 52.69, 3.20)
CIE-LCHlch(51.76, 52.79, 3.47°)
OKLaboklab(60.5% 0.1608 0.0089)
OKLCHoklch(60.5% 0.161 3.2)
XYZxyz(31.1627, 19.9343, 19.9723)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5078 #50CCA4
analogous
#CC50B6 #CC5078 #CC6650
triadic
#CC5078 #78CC50 #5078CC
tetradic
#CC5078 #B6CC50 #50CCA4 #6650CC
square
#CC5078 #B6CC50 #50CCA4 #6650CC
split-complementary
#CC5078 #50CC66 #50B6CC
monochromatic
#7D2441 #AD325A #CC5078 #DA7F9D #E8AFC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5078#FFFFFF#000000##000000
##CC50781.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)
#686C79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DC425F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5078;
/* rgb */ color: rgb(204, 80, 120);
/* oklch */ color: oklch(60.5% 0.161 3.2);
Tailwind
colors: {
  custom: {
    50: '#e0879e',
    500: '#cc5078',
    950: '#000000',
  },
}
SCSS
$custom: #cc5078;
$custom-light: #e0879e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5078",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 340.645,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60499,
    "c": 0.16101,
    "h": 3.2
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5078

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

Preview Lab → · Contrast checker → · Palette generator →

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