#CC46A2#CC46A2

#CC46A2 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.195 H 342.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC46A2
RGBrgb(204, 70, 162)
HSLhsl(319, 57%, 54%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 65.7%, 20.6%, 20%)
CIE-LABlab(51.64, 62.02, -21.97)
CIE-LCHlch(51.64, 65.80, 340.50°)
OKLaboklab(60.88% 0.1857 -0.0588)
OKLCHoklch(60.88% 0.195 342.4)
XYZxyz(33.6146, 19.8295, 36.2326)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46A2 #46CC70
analogous
#B346CC #CC46A2 #CC465F
triadic
#CC46A2 #A2CC46 #46A2CC
tetradic
#CC46A2 #CCB346 #46CC70 #465FCC
square
#CC46A2 #CCB346 #46CC70 #465FCC
split-complementary
#CC46A2 #5FCC46 #46CCB3
monochromatic
#77215C #A72E81 #CC46A2 #D976BA #E6A6D2

Accessibility & contrast

On white

4.23
#CC46A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CC46A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46A2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46A2#FFFFFF#000000##000000
##CC46A21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#D8476E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc46a2;
/* rgb */ color: rgb(204, 70, 162);
/* oklch */ color: oklch(60.9% 0.195 342.4);
Tailwind
colors: {
  custom: {
    50: '#df83bd',
    500: '#cc46a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc46a2;
$custom-light: #df83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46a2",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 318.806,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.19479,
    "h": 342.4
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#CC46A2
secondary
#9AD4AC
accent
#E07748
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC46A2

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

Preview Lab → · Contrast checker → · Palette generator →

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