#CC4081#CC4081

#CC4081 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.0% C 0.185 H 355.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC4081
RGBrgb(204, 64, 129)
HSLhsl(332, 58%, 53%)
HSVhsv(332, 69%, 80%)
CMYKcmyk(0%, 68.6%, 36.8%, 20%)
CIE-LABlab(49.61, 60.26, -5.37)
CIE-LCHlch(49.61, 60.50, 354.91°)
OKLaboklab(58.99% 0.1846 -0.0134)
OKLCHoklch(58.99% 0.185 355.9)
XYZxyz(30.6996, 18.0927, 22.6402)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4081 #40CC8B
analogous
#CC40C7 #CC4081 #CC4540
triadic
#CC4081 #81CC40 #4081CC
tetradic
#CC4081 #C7CC40 #40CC8B #4540CC
square
#CC4081 #C7CC40 #40CC8B #4540CC
split-complementary
#CC4081 #40CC45 #40C7CC
monochromatic
#731F46 #A32C63 #CC4081 #D970A1 #E6A1C1

Accessibility & contrast

On white

4.55
#CC4081 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CC4081 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4081
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4081#FFFFFF#000000##000000
##CC40811.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#596583
Deuteranopia (green-blind)
#807F7E
Tritanopia (blue-blind)
#DC335B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4081;
/* rgb */ color: rgb(204, 64, 129);
/* oklch */ color: oklch(59.0% 0.185 355.9);
Tailwind
colors: {
  custom: {
    50: '#e07fa5',
    500: '#cc4081',
    950: '#000000',
  },
}
SCSS
$custom: #cc4081;
$custom-light: #e07fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4081",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 129
  },
  "hsl": {
    "h": 332.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58989,
    "c": 0.18504,
    "h": 355.9
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#CC4081
secondary
#95D2B6
accent
#E19947
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC4081

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

Preview Lab → · Contrast checker → · Palette generator →

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