#CC46A1#CC46A1

#CC46A1 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.194 H 342.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CC46A1
RGBrgb(204, 70, 161)
HSLhsl(319, 57%, 54%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 65.7%, 21.1%, 20%)
CIE-LABlab(51.60, 61.88, -21.44)
CIE-LCHlch(51.60, 65.49, 340.89°)
OKLaboklab(60.83% 0.1855 -0.0573)
OKLCHoklch(60.83% 0.194 342.8)
XYZxyz(33.5261, 19.7941, 35.7663)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46A1 #46CC71
analogous
#B446CC #CC46A1 #CC465E
triadic
#CC46A1 #A1CC46 #46A1CC
tetradic
#CC46A1 #CCB446 #46CC71 #465ECC
square
#CC46A1 #CCB446 #46CC71 #465ECC
split-complementary
#CC46A1 #5ECC46 #46CCB4
monochromatic
#77215B #A72E80 #CC46A1 #D976B9 #E6A6D2

Accessibility & contrast

On white

4.24
#CC46A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CC46A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46A1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46A1#FFFFFF#000000##000000
##CC46A11.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#7A839E
Tritanopia (blue-blind)
#D8476D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc46a1;
/* rgb */ color: rgb(204, 70, 161);
/* oklch */ color: oklch(60.8% 0.194 342.8);
Tailwind
colors: {
  custom: {
    50: '#df83bd',
    500: '#cc46a1',
    950: '#000000',
  },
}
SCSS
$custom: #cc46a1;
$custom-light: #df83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46a1",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 161
  },
  "hsl": {
    "h": 319.254,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.19416,
    "h": 342.8
  },
  "luminance": 0.19791
}

Semantic roles & 50–950 ramp

primary
#CC46A1
secondary
#9AD4AD
accent
#E07948
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC46A1

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

Preview Lab → · Contrast checker → · Palette generator →

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