#CC5481#CC5481

#CC5481 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.3% C 0.158 H 359.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CC5481
RGBrgb(204, 84, 129)
HSLhsl(338, 54%, 56%)
HSVhsv(338, 59%, 80%)
CMYKcmyk(0%, 58.8%, 36.8%, 20%)
CIE-LABlab(52.69, 51.88, -0.82)
CIE-LCHlch(52.69, 51.88, 359.09°)
OKLaboklab(61.28% 0.1582 -0.0015)
OKLCHoklch(61.28% 0.158 359.5)
XYZxyz(32.0364, 20.7664, 23.0858)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5481 #54CC9F
analogous
#CC54BD #CC5481 #CC6354
triadic
#CC5481 #81CC54 #5481CC
tetradic
#CC5481 #BDCC54 #54CC9F #6354CC
square
#CC5481 #BDCC54 #54CC9F #6354CC
split-complementary
#CC5481 #54CC63 #54BDCC
monochromatic
#802648 #AF3462 #CC5481 #DA83A4 #E8B2C6

Accessibility & contrast

On white

4.08
#CC5481 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CC5481 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5481
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5481#FFFFFF#000000##000000
##CC54811.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697082
Deuteranopia (green-blind)
#88867E
Tritanopia (blue-blind)
#DC4A65
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc5481;
/* rgb */ color: rgb(204, 84, 129);
/* oklch */ color: oklch(61.3% 0.158 359.5);
Tailwind
colors: {
  custom: {
    50: '#df89a5',
    500: '#cc5481',
    950: '#000000',
  },
}
SCSS
$custom: #cc5481;
$custom-light: #df89a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5481",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 337.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61276,
    "c": 0.15824,
    "h": 359.5
  },
  "luminance": 0.20763
}

Semantic roles & 50–950 ramp

primary
#CC5481
secondary
#A5D7C4
accent
#DDA64A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5481

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

Preview Lab → · Contrast checker → · Palette generator →

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