#CC46BB#CC46BB

#CC46BB is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.0% C 0.212 H 333.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CC46BB
RGBrgb(204, 70, 187)
HSLhsl(308, 57%, 54%)
HSVhsv(308, 66%, 80%)
CMYKcmyk(0%, 65.7%, 8.3%, 20%)
CIE-LABlab(52.74, 65.68, -34.88)
CIE-LCHlch(52.74, 74.37, 332.03°)
OKLaboklab(62.03% 0.1895 -0.0954)
OKLCHoklch(62.03% 0.212 333.3)
XYZxyz(36.0618, 20.8084, 49.1212)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46BB #46CC57
analogous
#9A46CC #CC46BB #CC4678
triadic
#CC46BB #BBCC46 #46BBCC
tetradic
#CC46BB #CC9A46 #46CC57 #4678CC
square
#CC46BB #CC9A46 #46CC57 #4678CC
split-complementary
#CC46BB #78CC46 #46CC9A
monochromatic
#77216C #A72E97 #CC46BB #D976CD #E6A6DE

Accessibility & contrast

On white

4.07
#CC46BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CC46BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46BB#FFFFFF#000000##000000
##CC46BB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#7085B8
Tritanopia (blue-blind)
#D5517A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc46bb;
/* rgb */ color: rgb(204, 70, 187);
/* oklch */ color: oklch(62.0% 0.212 333.3);
Tailwind
colors: {
  custom: {
    50: '#df83d0',
    500: '#cc46bb',
    950: '#000000',
  },
}
SCSS
$custom: #cc46bb;
$custom-light: #df83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46bb",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 307.612,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62033,
    "c": 0.21215,
    "h": 333.3
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#CC46BB
secondary
#9AD4A2
accent
#E05B48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #CC46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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