#CC5087#CC5087

#CC5087 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.166 H 355.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC5087
RGBrgb(204, 80, 135)
HSLhsl(333, 55%, 56%)
HSVhsv(333, 61%, 80%)
CMYKcmyk(0%, 60.8%, 33.8%, 20%)
CIE-LABlab(52.21, 54.37, -5.11)
CIE-LCHlch(52.21, 54.61, 354.63°)
OKLaboklab(60.97% 0.1658 -0.0128)
OKLCHoklch(60.97% 0.166 355.6)
XYZxyz(32.1454, 20.3274, 25.1477)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5087 #50CC95
analogous
#CC50C5 #CC5087 #CC5750
triadic
#CC5087 #87CC50 #5087CC
tetradic
#CC5087 #C5CC50 #50CC95 #5750CC
square
#CC5087 #C5CC50 #50CC95 #5750CC
split-complementary
#CC5087 #50CC57 #50C5CC
monochromatic
#7D244C #AD3268 #CC5087 #DA7FA7 #E8AFC8

Accessibility & contrast

On white

4.15
#CC5087 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC5087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5087
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5087#FFFFFF#000000##000000
##CC50871.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DB4766
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5087;
/* rgb */ color: rgb(204, 80, 135);
/* oklch */ color: oklch(61.0% 0.166 355.6);
Tailwind
colors: {
  custom: {
    50: '#df87a9',
    500: '#cc5087',
    950: '#000000',
  },
}
SCSS
$custom: #cc5087;
$custom-light: #df87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5087",
  "rgb": {
    "r": 204,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 333.387,
    "s": 54.867,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.16629,
    "h": 355.6
  },
  "luminance": 0.20324
}

Semantic roles & 50–950 ramp

primary
#CC5087
secondary
#A2D6BF
accent
#DE9C4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5087

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

Preview Lab → · Contrast checker → · Palette generator →

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