#CC4082#CC4082

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

Color values

HEX#CC4082
RGBrgb(204, 64, 130)
HSLhsl(332, 58%, 53%)
HSVhsv(332, 69%, 80%)
CMYKcmyk(0%, 68.6%, 36.3%, 20%)
CIE-LABlab(49.64, 60.37, -5.92)
CIE-LCHlch(49.64, 60.66, 354.40°)
OKLaboklab(59.02% 0.1849 -0.0148)
OKLCHoklch(59.02% 0.185 355.4)
XYZxyz(30.7664, 18.1195, 22.9920)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4082 #40CC8A
analogous
#CC40C8 #CC4082 #CC4440
triadic
#CC4082 #82CC40 #4082CC
tetradic
#CC4082 #C8CC40 #40CC8A #4440CC
square
#CC4082 #C8CC40 #40CC8A #4440CC
split-complementary
#CC4082 #40CC44 #40C8CC
monochromatic
#731F46 #A32C64 #CC4082 #D970A2 #E6A1C1

Accessibility & contrast

On white

4.54
#CC4082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4082#FFFFFF#000000##000000
##CC40821.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#596684
Deuteranopia (green-blind)
#80807F
Tritanopia (blue-blind)
#DC335C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4082;
/* rgb */ color: rgb(204, 64, 130);
/* oklch */ color: oklch(59.0% 0.185 355.4);
Tailwind
colors: {
  custom: {
    50: '#e07fa6',
    500: '#cc4082',
    950: '#000000',
  },
}
SCSS
$custom: #cc4082;
$custom-light: #e07fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4082",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 331.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.18547,
    "h": 355.4
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4082

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

Preview Lab → · Contrast checker → · Palette generator →

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