#CC4A82#CC4A82

#CC4A82 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.1% C 0.173 H 356.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CC4A82
RGBrgb(204, 74, 130)
HSLhsl(334, 56%, 55%)
HSVhsv(334, 64%, 80%)
CMYKcmyk(0%, 63.7%, 36.3%, 20%)
CIE-LABlab(51.09, 56.38, -3.77)
CIE-LCHlch(51.09, 56.51, 356.17°)
OKLaboklab(60.1% 0.1723 -0.0092)
OKLCHoklch(60.1% 0.173 356.9)
XYZxyz(31.3817, 19.3502, 23.1971)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4A82 #4ACC94
analogous
#CC4AC3 #CC4A82 #CC534A
triadic
#CC4A82 #82CC4A #4A82CC
tetradic
#CC4A82 #C3CC4A #4ACC94 #534ACC
square
#CC4A82 #C3CC4A #4ACC94 #534ACC
split-complementary
#CC4A82 #4ACC53 #4AC3CC
monochromatic
#792248 #A93064 #CC4A82 #D97AA3 #E7A9C4

Accessibility & contrast

On white

4.31
#CC4A82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CC4A82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4A82
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4A82#FFFFFF#000000##000000
##CC4A821.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#616A84
Deuteranopia (green-blind)
#84837F
Tritanopia (blue-blind)
#DC3F60
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc4a82;
/* rgb */ color: rgb(204, 74, 130);
/* oklch */ color: oklch(60.1% 0.173 356.9);
Tailwind
colors: {
  custom: {
    50: '#e084a6',
    500: '#cc4a82',
    950: '#000000',
  },
}
SCSS
$custom: #cc4a82;
$custom-light: #e084a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4a82",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 334.154,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.17254,
    "h": 356.9
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#CC4A82
secondary
#9DD4BD
accent
#DF9E48
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4A82

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

Preview Lab → · Contrast checker → · Palette generator →

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