#CC5281#CC5281

#CC5281 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.0% C 0.161 H 359.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC5281
RGBrgb(204, 82, 129)
HSLhsl(337, 54%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 59.8%, 36.8%, 20%)
CIE-LABlab(52.35, 52.78, -1.32)
CIE-LCHlch(52.35, 52.80, 358.57°)
OKLaboklab(61.02% 0.1611 -0.0028)
OKLCHoklch(61.02% 0.161 359)
XYZxyz(31.8834, 20.4604, 23.0348)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5281 #52CC9D
analogous
#CC52BE #CC5281 #CC6052
triadic
#CC5281 #81CC52 #5281CC
tetradic
#CC5281 #BECC52 #52CC9D #6052CC
square
#CC5281 #BECC52 #52CC9D #6052CC
split-complementary
#CC5281 #52CC60 #52BECC
monochromatic
#7E2548 #AE3362 #CC5281 #DA81A3 #E8B1C6

Accessibility & contrast

On white

4.12
#CC5281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5281
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5281#FFFFFF#000000##000000
##CC52811.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#676E82
Deuteranopia (green-blind)
#88857E
Tritanopia (blue-blind)
#DC4764
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc5281;
/* rgb */ color: rgb(204, 82, 129);
/* oklch */ color: oklch(61.0% 0.161 359.0);
Tailwind
colors: {
  custom: {
    50: '#df88a5',
    500: '#cc5281',
    950: '#000000',
  },
}
SCSS
$custom: #cc5281;
$custom-light: #df88a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5281",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 336.885,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.16108,
    "h": 359
  },
  "luminance": 0.20457
}

Semantic roles & 50–950 ramp

primary
#CC5281
secondary
#A4D6C3
accent
#DEA54A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5281

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

Preview Lab → · Contrast checker → · Palette generator →

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