#CC5287#CC5287

#CC5287 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.2% C 0.163 H 356.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC5287
RGBrgb(204, 82, 135)
HSLhsl(334, 54%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 59.8%, 33.8%, 20%)
CIE-LABlab(52.54, 53.48, -4.62)
CIE-LCHlch(52.54, 53.68, 355.06°)
OKLaboklab(61.22% 0.163 -0.0115)
OKLCHoklch(61.22% 0.163 356)
XYZxyz(32.2940, 20.6246, 25.1972)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5287 #52CC97
analogous
#CC52C4 #CC5287 #CC5A52
triadic
#CC5287 #87CC52 #5287CC
tetradic
#CC5287 #C4CC52 #52CC97 #5A52CC
square
#CC5287 #C4CC52 #52CC97 #5A52CC
split-complementary
#CC5287 #52CC5A #52C4CC
monochromatic
#7E254C #AE3368 #CC5287 #DA81A8 #E8B1C9

Accessibility & contrast

On white

4.10
#CC5287 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CC5287 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5287
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5287#FFFFFF#000000##000000
##CC52871.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656F89
Deuteranopia (green-blind)
#868684
Tritanopia (blue-blind)
#DB4967
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5287;
/* rgb */ color: rgb(204, 82, 135);
/* oklch */ color: oklch(61.2% 0.163 356.0);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cc5287',
    950: '#000000',
  },
}
SCSS
$custom: #cc5287;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5287",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 333.934,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61219,
    "c": 0.16343,
    "h": 356
  },
  "luminance": 0.20621
}

Semantic roles & 50–950 ramp

primary
#CC5287
secondary
#A4D6C0
accent
#DE9E4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5287

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

Preview Lab → · Contrast checker → · Palette generator →

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