#CC5181#CC5181

#CC5181 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.163 H 358.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC5181
RGBrgb(204, 81, 129)
HSLhsl(337, 55%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 60.3%, 36.8%, 20%)
CIE-LABlab(52.19, 53.23, -1.56)
CIE-LCHlch(52.19, 53.26, 358.32°)
OKLaboklab(60.9% 0.1625 -0.0034)
OKLCHoklch(60.9% 0.163 358.8)
XYZxyz(31.8086, 20.3107, 23.0098)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5181 #51CC9C
analogous
#CC51BF #CC5181 #CC5E51
triadic
#CC5181 #81CC51 #5181CC
tetradic
#CC5181 #BFCC51 #51CC9C #5E51CC
square
#CC5181 #BFCC51 #51CC9C #5E51CC
split-complementary
#CC5181 #51CC5E #51BFCC
monochromatic
#7E2548 #AD3362 #CC5181 #DA80A3 #E8B0C6

Accessibility & contrast

On white

4.15
#CC5181 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC5181 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5181
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5181#FFFFFF#000000##000000
##CC51811.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#666E82
Deuteranopia (green-blind)
#87857E
Tritanopia (blue-blind)
#DC4664
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5181;
/* rgb */ color: rgb(204, 81, 129);
/* oklch */ color: oklch(60.9% 0.163 358.8);
Tailwind
colors: {
  custom: {
    50: '#e088a5',
    500: '#cc5181',
    950: '#000000',
  },
}
SCSS
$custom: #cc5181;
$custom-light: #e088a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5181",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 336.585,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.1625,
    "h": 358.8
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#CC5181
secondary
#A3D6C2
accent
#DEA44A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5181

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

Preview Lab → · Contrast checker → · Palette generator →

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