#CC5286#CC5286

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

Color values

HEX#CC5286
RGBrgb(204, 82, 134)
HSLhsl(334, 54%, 56%)
HSVhsv(334, 60%, 80%)
CMYKcmyk(0%, 59.8%, 34.3%, 20%)
CIE-LABlab(52.51, 53.36, -4.07)
CIE-LCHlch(52.51, 53.52, 355.63°)
OKLaboklab(61.19% 0.1627 -0.01)
OKLCHoklch(61.19% 0.163 356.5)
XYZxyz(32.2239, 20.5966, 24.8281)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5286 #52CC98
analogous
#CC52C3 #CC5286 #CC5B52
triadic
#CC5286 #86CC52 #5286CC
tetradic
#CC5286 #C3CC52 #52CC98 #5B52CC
square
#CC5286 #C3CC52 #52CC98 #5B52CC
split-complementary
#CC5286 #52CC5B #52C3CC
monochromatic
#7E254B #AE3367 #CC5286 #DA81A7 #E8B1C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5286#FFFFFF#000000##000000
##CC52861.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)
#666F88
Deuteranopia (green-blind)
#868683
Tritanopia (blue-blind)
#DB4966
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5286;
/* rgb */ color: rgb(204, 82, 134);
/* oklch */ color: oklch(61.2% 0.163 356.5);
Tailwind
colors: {
  custom: {
    50: '#df88a9',
    500: '#cc5286',
    950: '#000000',
  },
}
SCSS
$custom: #cc5286;
$custom-light: #df88a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5286",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 134
  },
  "hsl": {
    "h": 334.426,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.16302,
    "h": 356.5
  },
  "luminance": 0.20593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5286

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

Preview Lab → · Contrast checker → · Palette generator →

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