#CC46A7#CC46A7

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

Color values

HEX#CC46A7
RGBrgb(204, 70, 167)
HSLhsl(317, 57%, 54%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 65.7%, 18.1%, 20%)
CIE-LABlab(51.85, 62.72, -24.59)
CIE-LCHlch(51.85, 67.37, 338.59°)
OKLaboklab(61.1% 0.1867 -0.0662)
OKLCHoklch(61.1% 0.198 340.5)
XYZxyz(34.0679, 20.0109, 38.6200)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46A7 #46CC6B
analogous
#AE46CC #CC46A7 #CC4664
triadic
#CC46A7 #A7CC46 #46A7CC
tetradic
#CC46A7 #CCAE46 #46CC6B #4664CC
square
#CC46A7 #CCAE46 #46CC6B #4664CC
split-complementary
#CC46A7 #64CC46 #46CCAE
monochromatic
#77215F #A72E85 #CC46A7 #D976BE #E6A6D5

Accessibility & contrast

On white

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

On black

5.00
#CC46A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46A7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46A7#FFFFFF#000000##000000
##CC46A71.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#7883A4
Tritanopia (blue-blind)
#D84970
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc46a7;
/* rgb */ color: rgb(204, 70, 167);
/* oklch */ color: oklch(61.1% 0.198 340.5);
Tailwind
colors: {
  custom: {
    50: '#df83c1',
    500: '#cc46a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc46a7;
$custom-light: #df83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46a7",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 316.567,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61095,
    "c": 0.19804,
    "h": 340.5
  },
  "luminance": 0.20008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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