#CC5185#CC5185

#CC5185 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.164 H 356.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC5185
RGBrgb(204, 81, 133)
HSLhsl(335, 55%, 56%)
HSVhsv(335, 60%, 80%)
CMYKcmyk(0%, 60.3%, 34.8%, 20%)
CIE-LABlab(52.31, 53.69, -3.77)
CIE-LCHlch(52.31, 53.83, 355.98°)
OKLaboklab(61.03% 0.1638 -0.0092)
OKLCHoklch(61.03% 0.164 356.8)
XYZxyz(32.0797, 20.4191, 24.4376)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5185 #51CC98
analogous
#CC51C3 #CC5185 #CC5A51
triadic
#CC5185 #85CC51 #5185CC
tetradic
#CC5185 #C3CC51 #51CC98 #5A51CC
square
#CC5185 #C3CC51 #51CC98 #5A51CC
split-complementary
#CC5185 #51CC5A #51C3CC
monochromatic
#7E254A #AD3366 #CC5185 #DA80A6 #E8B0C7

Accessibility & contrast

On white

4.13
#CC5185 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CC5185 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5185
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5185#FFFFFF#000000##000000
##CC51851.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656E87
Deuteranopia (green-blind)
#868582
Tritanopia (blue-blind)
#DB4765
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5185;
/* rgb */ color: rgb(204, 81, 133);
/* oklch */ color: oklch(61.0% 0.164 356.8);
Tailwind
colors: {
  custom: {
    50: '#df88a8',
    500: '#cc5185',
    950: '#000000',
  },
}
SCSS
$custom: #cc5185;
$custom-light: #df88a8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5185",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 133
  },
  "hsl": {
    "h": 334.634,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.16404,
    "h": 356.8
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#CC5185
secondary
#A3D6C0
accent
#DE9F4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5185

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

Preview Lab → · Contrast checker → · Palette generator →

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