#CC46B2#CC46B2

#CC46B2 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.206 H 336.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC46B2
RGBrgb(204, 70, 178)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 66%, 80%)
CMYKcmyk(0%, 65.7%, 12.7%, 20%)
CIE-LABlab(52.33, 64.31, -30.29)
CIE-LCHlch(52.33, 71.09, 334.78°)
OKLaboklab(61.6% 0.1884 -0.0823)
OKLCHoklch(61.6% 0.206 336.4)
XYZxyz(35.1284, 20.4350, 44.2051)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46B2 #46CC60
analogous
#A346CC #CC46B2 #CC466F
triadic
#CC46B2 #B2CC46 #46B2CC
tetradic
#CC46B2 #CCA346 #46CC60 #466FCC
square
#CC46B2 #CCA346 #46CC60 #466FCC
split-complementary
#CC46B2 #6FCC46 #46CCA3
monochromatic
#772166 #A72E8F #CC46B2 #D976C6 #E6A6DA

Accessibility & contrast

On white

4.13
#CC46B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC46B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46B2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46B2#FFFFFF#000000##000000
##CC46B21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D64E76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc46b2;
/* rgb */ color: rgb(204, 70, 178);
/* oklch */ color: oklch(61.6% 0.206 336.4);
Tailwind
colors: {
  custom: {
    50: '#df83c9',
    500: '#cc46b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc46b2;
$custom-light: #df83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46b2",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 311.642,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.2056,
    "h": 336.4
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#CC46B2
secondary
#9AD4A5
accent
#E06548
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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