#CC40A0#CC40A0

#CC40A0 is a mid, highly saturated pink. Relative luminance 0.190; OKLCH L 60.2% C 0.201 H 342.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#CC40A0
RGBrgb(204, 64, 160)
HSLhsl(319, 58%, 53%)
HSVhsv(319, 69%, 80%)
CMYKcmyk(0%, 68.6%, 21.6%, 20%)
CIE-LABlab(50.74, 64.04, -22.17)
CIE-LCHlch(50.74, 67.77, 340.90°)
OKLaboklab(60.19% 0.1923 -0.0593)
OKLCHoklch(60.19% 0.201 342.9)
XYZxyz(33.0815, 19.0455, 35.1848)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC40A0 #40CC6C
analogous
#B240CC #CC40A0 #CC405A
triadic
#CC40A0 #A0CC40 #40A0CC
tetradic
#CC40A0 #CCB240 #40CC6C #405ACC
square
#CC40A0 #CCB240 #40CC6C #405ACC
split-complementary
#CC40A0 #5ACC40 #40CCB2
monochromatic
#731F58 #A32C7E #CC40A0 #D970B8 #E6A1D0

Accessibility & contrast

On white

4.37
#CC40A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CC40A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC40A0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC40A0#FFFFFF#000000##000000
##CC40A01.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6AA3
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#D9416A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc40a0;
/* rgb */ color: rgb(204, 64, 160);
/* oklch */ color: oklch(60.2% 0.201 342.9);
Tailwind
colors: {
  custom: {
    50: '#df80bc',
    500: '#cc40a0',
    950: '#000000',
  },
}
SCSS
$custom: #cc40a0;
$custom-light: #df80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc40a0",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 318.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.20123,
    "h": 342.9
  },
  "luminance": 0.19042
}

Semantic roles & 50–950 ramp

primary
#CC40A0
secondary
#95D2A9
accent
#E17747
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC40A0

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

Preview Lab → · Contrast checker → · Palette generator →

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