#CC46AC#CC46AC

#CC46AC is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.3% C 0.201 H 338.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC46AC
RGBrgb(204, 70, 172)
HSLhsl(314, 57%, 54%)
HSVhsv(314, 66%, 80%)
CMYKcmyk(0%, 65.7%, 15.7%, 20%)
CIE-LABlab(52.06, 63.43, -27.19)
CIE-LCHlch(52.06, 69.02, 336.79°)
OKLaboklab(61.32% 0.1875 -0.0735)
OKLCHoklch(61.32% 0.201 338.6)
XYZxyz(34.5391, 20.1993, 41.1015)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46AC #46CC66
analogous
#A946CC #CC46AC #CC4669
triadic
#CC46AC #ACCC46 #46ACCC
tetradic
#CC46AC #CCA946 #46CC66 #4669CC
square
#CC46AC #CCA946 #46CC66 #4669CC
split-complementary
#CC46AC #69CC46 #46CCA9
monochromatic
#772162 #A72E8A #CC46AC #D976C2 #E6A6D7

Accessibility & contrast

On white

4.17
#CC46AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CC46AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46AC#FFFFFF#000000##000000
##CC46AC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAF
Deuteranopia (green-blind)
#7684A9
Tritanopia (blue-blind)
#D74B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc46ac;
/* rgb */ color: rgb(204, 70, 172);
/* oklch */ color: oklch(61.3% 0.201 338.6);
Tailwind
colors: {
  custom: {
    50: '#df83c5',
    500: '#cc46ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc46ac;
$custom-light: #df83c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46ac",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 172
  },
  "hsl": {
    "h": 314.328,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.20141,
    "h": 338.6
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#CC46AC
secondary
#9AD4A8
accent
#E06C48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC46AC

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

Preview Lab → · Contrast checker → · Palette generator →

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