#CC5285#CC5285

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

Color values

HEX#CC5285
RGBrgb(204, 82, 133)
HSLhsl(335, 54%, 56%)
HSVhsv(335, 60%, 80%)
CMYKcmyk(0%, 59.8%, 34.8%, 20%)
CIE-LABlab(52.47, 53.25, -3.53)
CIE-LCHlch(52.47, 53.36, 356.21°)
OKLaboklab(61.15% 0.1624 -0.0086)
OKLCHoklch(61.15% 0.163 357)
XYZxyz(32.1545, 20.5688, 24.4626)
Luminance0.2056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5285 #52CC99
analogous
#CC52C2 #CC5285 #CC5C52
triadic
#CC5285 #85CC52 #5285CC
tetradic
#CC5285 #C2CC52 #52CC99 #5C52CC
square
#CC5285 #C2CC52 #52CC99 #5C52CC
split-complementary
#CC5285 #52CC5C #52C2CC
monochromatic
#7E254A #AE3366 #CC5285 #DA81A6 #E8B1C8

Accessibility & contrast

On white

4.11
#CC5285 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#CC5285 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5285
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5285#FFFFFF#000000##000000
##CC52851.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666F87
Deuteranopia (green-blind)
#878682
Tritanopia (blue-blind)
#DB4966
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5285;
/* rgb */ color: rgb(204, 82, 133);
/* oklch */ color: oklch(61.2% 0.163 357.0);
Tailwind
colors: {
  custom: {
    50: '#df88a8',
    500: '#cc5285',
    950: '#000000',
  },
}
SCSS
$custom: #cc5285;
$custom-light: #df88a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5285",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 334.918,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61153,
    "c": 0.16261,
    "h": 357
  },
  "luminance": 0.20565
}

Semantic roles & 50–950 ramp

primary
#CC5285
secondary
#A4D6C1
accent
#DEA04A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5285

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

Preview Lab → · Contrast checker → · Palette generator →

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