#CC5074#CC5074

#CC5074 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.160 H 5.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC5074
RGBrgb(204, 80, 116)
HSLhsl(343, 55%, 56%)
HSVhsv(343, 61%, 80%)
CMYKcmyk(0%, 60.8%, 43.1%, 20%)
CIE-LABlab(51.65, 52.28, 5.44)
CIE-LCHlch(51.65, 52.56, 5.94°)
OKLaboklab(60.38% 0.1593 0.0146)
OKLCHoklch(60.38% 0.16 5.2)
XYZxyz(30.9250, 19.8392, 18.7204)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5074 #50CCA8
analogous
#CC50B2 #CC5074 #CC6A50
triadic
#CC5074 #74CC50 #5074CC
tetradic
#CC5074 #B2CC50 #50CCA8 #6A50CC
square
#CC5074 #B2CC50 #50CCA8 #6A50CC
split-complementary
#CC5074 #50CC6A #50B2CC
monochromatic
#7D243E #AD3256 #CC5074 #DA7F9A #E8AFBF

Accessibility & contrast

On white

4.23
#CC5074 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC5074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5074
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5074#FFFFFF#000000##000000
##CC50741.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C75
Deuteranopia (green-blind)
#898471
Tritanopia (blue-blind)
#DD415E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc5074;
/* rgb */ color: rgb(204, 80, 116);
/* oklch */ color: oklch(60.4% 0.160 5.2);
Tailwind
colors: {
  custom: {
    50: '#e0879b',
    500: '#cc5074',
    950: '#000000',
  },
}
SCSS
$custom: #cc5074;
$custom-light: #e0879b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5074",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 116
  },
  "hsl": {
    "h": 342.581,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.15998,
    "h": 5.2
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#CC5074
secondary
#A2D6C7
accent
#DEB34A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5074

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

Preview Lab → · Contrast checker → · Palette generator →

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