#CC5081#CC5081

#CC5081 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.164 H 358.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC5081
RGBrgb(204, 80, 129)
HSLhsl(336, 55%, 56%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 60.8%, 36.8%, 20%)
CIE-LABlab(52.02, 53.68, -1.81)
CIE-LCHlch(52.02, 53.71, 358.07°)
OKLaboklab(60.78% 0.1639 -0.0041)
OKLCHoklch(60.78% 0.164 358.6)
XYZxyz(31.7348, 20.1631, 22.9853)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5081 #50CC9B
analogous
#CC50BF #CC5081 #CC5D50
triadic
#CC5081 #81CC50 #5081CC
tetradic
#CC5081 #BFCC50 #50CC9B #5D50CC
square
#CC5081 #BFCC50 #50CC9B #5D50CC
split-complementary
#CC5081 #50CC5D #50BFCC
monochromatic
#7D2448 #AD3263 #CC5081 #DA7FA3 #E8AFC5

Accessibility & contrast

On white

4.17
#CC5081 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC5081 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5081
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5081#FFFFFF#000000##000000
##CC50811.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D82
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#DC4563
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5081;
/* rgb */ color: rgb(204, 80, 129);
/* oklch */ color: oklch(60.8% 0.164 358.6);
Tailwind
colors: {
  custom: {
    50: '#e087a5',
    500: '#cc5081',
    950: '#000000',
  },
}
SCSS
$custom: #cc5081;
$custom-light: #e087a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5081",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 129
  },
  "hsl": {
    "h": 336.29,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.1639,
    "h": 358.6
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

primary
#CC5081
secondary
#A2D6C1
accent
#DEA34A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5081

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

Preview Lab → · Contrast checker → · Palette generator →

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