#CC4981#CC4981

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

Color values

HEX#CC4981
RGBrgb(204, 73, 129)
HSLhsl(334, 56%, 54%)
HSVhsv(334, 64%, 80%)
CMYKcmyk(0%, 64.2%, 36.8%, 20%)
CIE-LABlab(50.91, 56.69, -3.44)
CIE-LCHlch(50.91, 56.79, 356.52°)
OKLaboklab(59.95% 0.1733 -0.0083)
OKLCHoklch(59.95% 0.174 357.2)
XYZxyz(31.2487, 19.1910, 22.8232)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4981 #49CC94
analogous
#CC49C3 #CC4981 #CC5349
triadic
#CC4981 #81CC49 #4981CC
tetradic
#CC4981 #C3CC49 #49CC94 #5349CC
square
#CC4981 #C3CC49 #49CC94 #5349CC
split-complementary
#CC4981 #49CC53 #49C3CC
monochromatic
#792247 #A92F63 #CC4981 #D979A2 #E7A9C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4981#FFFFFF#000000##000000
##CC49811.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)
#606A83
Deuteranopia (green-blind)
#84827E
Tritanopia (blue-blind)
#DC3D5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc4981;
/* rgb */ color: rgb(204, 73, 129);
/* oklch */ color: oklch(60.0% 0.173 357.2);
Tailwind
colors: {
  custom: {
    50: '#e083a5',
    500: '#cc4981',
    950: '#000000',
  },
}
SCSS
$custom: #cc4981;
$custom-light: #e083a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4981",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 129
  },
  "hsl": {
    "h": 334.351,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59951,
    "c": 0.1735,
    "h": 357.2
  },
  "luminance": 0.19187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4981

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

Preview Lab → · Contrast checker → · Palette generator →

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