#CC4F82#CC4F82

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

Color values

HEX#CC4F82
RGBrgb(204, 79, 130)
HSLhsl(336, 55%, 55%)
HSVhsv(336, 61%, 80%)
CMYKcmyk(0%, 61.3%, 36.3%, 20%)
CIE-LABlab(51.89, 54.23, -2.60)
CIE-LCHlch(51.89, 54.29, 357.25°)
OKLaboklab(60.69% 0.1656 -0.0061)
OKLCHoklch(60.69% 0.166 357.9)
XYZxyz(31.7289, 20.0445, 23.3128)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F82 #4FCC99
analogous
#CC4FC0 #CC4F82 #CC5A4F
triadic
#CC4F82 #82CC4F #4F82CC
tetradic
#CC4F82 #C0CC4F #4FCC99 #5A4FCC
square
#CC4F82 #C0CC4F #4FCC99 #5A4FCC
split-complementary
#CC4F82 #4FCC5A #4FC0CC
monochromatic
#7D2448 #AC3264 #CC4F82 #DA7EA4 #E7AEC5

Accessibility & contrast

On white

4.19
#CC4F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC4F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F82
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F82#FFFFFF#000000##000000
##CC4F821.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#646D83
Deuteranopia (green-blind)
#86847F
Tritanopia (blue-blind)
#DC4463
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4f82;
/* rgb */ color: rgb(204, 79, 130);
/* oklch */ color: oklch(60.7% 0.166 357.9);
Tailwind
colors: {
  custom: {
    50: '#e087a6',
    500: '#cc4f82',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f82;
$custom-light: #e087a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f82",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 335.52,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.16568,
    "h": 357.9
  },
  "luminance": 0.20041
}

Semantic roles & 50–950 ramp

primary
#CC4F82
secondary
#A1D5C0
accent
#DEA249
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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