#CC4F81#CC4F81

#CC4F81 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.165 H 358.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC4F81
RGBrgb(204, 79, 129)
HSLhsl(336, 55%, 55%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 61.3%, 36.8%, 20%)
CIE-LABlab(51.86, 54.12, -2.05)
CIE-LCHlch(51.86, 54.16, 357.83°)
OKLaboklab(60.65% 0.1652 -0.0047)
OKLCHoklch(60.65% 0.165 358.4)
XYZxyz(31.6621, 20.0178, 22.9610)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F81 #4FCC9A
analogous
#CC4FBF #CC4F81 #CC5B4F
triadic
#CC4F81 #81CC4F #4F81CC
tetradic
#CC4F81 #BFCC4F #4FCC9A #5B4FCC
square
#CC4F81 #BFCC4F #4FCC9A #5B4FCC
split-complementary
#CC4F81 #4FCC5B #4FBFCC
monochromatic
#7D2447 #AC3263 #CC4F81 #DA7EA3 #E7AEC5

Accessibility & contrast

On white

4.20
#CC4F81 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC4F81 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F81
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F81#FFFFFF#000000##000000
##CC4F811.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#656D82
Deuteranopia (green-blind)
#86847E
Tritanopia (blue-blind)
#DC4463
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4f81;
/* rgb */ color: rgb(204, 79, 129);
/* oklch */ color: oklch(60.7% 0.165 358.4);
Tailwind
colors: {
  custom: {
    50: '#e087a5',
    500: '#cc4f81',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f81;
$custom-light: #e087a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f81",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 129
  },
  "hsl": {
    "h": 336,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.16531,
    "h": 358.4
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#CC4F81
secondary
#A1D5C1
accent
#DEA349
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC4F81

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

Preview Lab → · Contrast checker → · Palette generator →

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