#CC46AB#CC46AB

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

Color values

HEX#CC46AB
RGBrgb(204, 70, 171)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 66%, 80%)
CMYKcmyk(0%, 65.7%, 16.2%, 20%)
CIE-LABlab(52.02, 63.29, -26.68)
CIE-LCHlch(52.02, 68.68, 337.14°)
OKLaboklab(61.27% 0.1874 -0.072)
OKLCHoklch(61.27% 0.201 339)
XYZxyz(34.4434, 20.1611, 40.5976)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC46AB #46CC67
analogous
#AA46CC #CC46AB #CC4668
triadic
#CC46AB #ABCC46 #46ABCC
tetradic
#CC46AB #CCAA46 #46CC67 #4668CC
square
#CC46AB #CCAA46 #46CC67 #4668CC
split-complementary
#CC46AB #68CC46 #46CCAA
monochromatic
#772162 #A72E89 #CC46AB #D976C1 #E6A6D7

Accessibility & contrast

On white

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

On black

5.03
#CC46AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC46AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC46AB#FFFFFF#000000##000000
##CC46AB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAE
Deuteranopia (green-blind)
#7684A8
Tritanopia (blue-blind)
#D74B72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc46ab;
/* rgb */ color: rgb(204, 70, 171);
/* oklch */ color: oklch(61.3% 0.201 339.0);
Tailwind
colors: {
  custom: {
    50: '#df83c4',
    500: '#cc46ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc46ab;
$custom-light: #df83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc46ab",
  "rgb": {
    "r": 204,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 314.776,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61274,
    "c": 0.20073,
    "h": 339
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#CC46AB
secondary
#9AD4A8
accent
#E06D48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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