#CC4982#CC4982

#CC4982 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.174 H 356.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC4982
RGBrgb(204, 73, 130)
HSLhsl(334, 56%, 54%)
HSVhsv(334, 64%, 80%)
CMYKcmyk(0%, 64.2%, 36.3%, 20%)
CIE-LABlab(50.94, 56.80, -4.00)
CIE-LCHlch(50.94, 56.94, 355.97°)
OKLaboklab(59.98% 0.1736 -0.0098)
OKLCHoklch(59.98% 0.174 356.8)
XYZxyz(31.3155, 19.2177, 23.1750)
Luminance0.1921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4982 #49CC93
analogous
#CC49C4 #CC4982 #CC5249
triadic
#CC4982 #82CC49 #4982CC
tetradic
#CC4982 #C4CC49 #49CC93 #5249CC
square
#CC4982 #C4CC49 #49CC93 #5249CC
split-complementary
#CC4982 #49CC52 #49C4CC
monochromatic
#792248 #A92F64 #CC4982 #D979A3 #E7A9C4

Accessibility & contrast

On white

4.34
#CC4982 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC4982 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4982
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4982#FFFFFF#000000##000000
##CC49821.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#606A84
Deuteranopia (green-blind)
#83827F
Tritanopia (blue-blind)
#DC3E60
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4982;
/* rgb */ color: rgb(204, 73, 130);
/* oklch */ color: oklch(60.0% 0.174 356.8);
Tailwind
colors: {
  custom: {
    50: '#e083a6',
    500: '#cc4982',
    950: '#000000',
  },
}
SCSS
$custom: #cc4982;
$custom-light: #e083a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4982",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 130
  },
  "hsl": {
    "h": 333.893,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59984,
    "c": 0.1739,
    "h": 356.8
  },
  "luminance": 0.19214
}

Semantic roles & 50–950 ramp

primary
#CC4982
secondary
#9DD4BC
accent
#E09E48
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4982

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

Preview Lab → · Contrast checker → · Palette generator →

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