#CC46A6#CC46A6

#CC46A6 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.197 H 340.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC46A6
RGBrgb(204, 70, 166)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 65.7%, 18.6%, 20%)
CIE-LABlab(51.81, 62.58, -24.07)
CIE-LCHlch(51.81, 67.05, 338.96°)
OKLaboklab(61.05% 0.1865 -0.0647)
OKLCHoklch(61.05% 0.197 340.9)
XYZxyz(33.9758, 19.9740, 38.1350)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46A6 #46CC6C
analogous
#AF46CC #CC46A6 #CC4663
triadic
#CC46A6 #A6CC46 #46A6CC
tetradic
#CC46A6 #CCAF46 #46CC6C #4663CC
square
#CC46A6 #CCAF46 #46CC6C #4663CC
split-complementary
#CC46A6 #63CC46 #46CCAF
monochromatic
#77215E #A72E85 #CC46A6 #D976BD #E6A6D4

Accessibility & contrast

On white

4.20
#CC46A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#CC46A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46A6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46A6#FFFFFF#000000##000000
##CC46A61.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EA9
Deuteranopia (green-blind)
#7883A3
Tritanopia (blue-blind)
#D84970
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc46a6;
/* rgb */ color: rgb(204, 70, 166);
/* oklch */ color: oklch(61.1% 0.197 340.9);
Tailwind
colors: {
  custom: {
    50: '#df83c0',
    500: '#cc46a6',
    950: '#000000',
  },
}
SCSS
$custom: #cc46a6;
$custom-light: #df83c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46a6",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 166
  },
  "hsl": {
    "h": 317.015,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.19738,
    "h": 340.9
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#CC46A6
secondary
#9AD4AA
accent
#E07348
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC46A6

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

Preview Lab → · Contrast checker → · Palette generator →

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