#CC45AB#CC45AB

#CC45AB is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.2% C 0.202 H 338.9°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CC45AB
RGBrgb(204, 69, 171)
HSLhsl(315, 57%, 54%)
HSVhsv(315, 66%, 80%)
CMYKcmyk(0%, 66.2%, 16.2%, 20%)
CIE-LABlab(51.88, 63.68, -26.89)
CIE-LCHlch(51.88, 69.12, 337.10°)
OKLaboklab(61.17% 0.1885 -0.0727)
OKLCHoklch(61.17% 0.202 338.9)
XYZxyz(34.3814, 20.0370, 40.5770)
Luminance0.2003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45AB #45CC66
analogous
#A945CC #CC45AB #CC4567
triadic
#CC45AB #ABCC45 #45ABCC
tetradic
#CC45AB #CCA945 #45CC66 #4567CC
square
#CC45AB #CCA945 #45CC66 #4567CC
split-complementary
#CC45AB #67CC45 #45CCA9
monochromatic
#762061 #A62E89 #CC45AB #D975C1 #E6A5D6

Accessibility & contrast

On white

4.19
#CC45AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CC45AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45AB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45AB#FFFFFF#000000##000000
##CC45AB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAE
Deuteranopia (green-blind)
#7683A8
Tritanopia (blue-blind)
#D74A72
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc45ab;
/* rgb */ color: rgb(204, 69, 171);
/* oklch */ color: oklch(61.2% 0.202 338.9);
Tailwind
colors: {
  custom: {
    50: '#df82c4',
    500: '#cc45ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc45ab;
$custom-light: #df82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45ab",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 314.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.20203,
    "h": 338.9
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#CC45AB
secondary
#99D3A8
accent
#E06D48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC45AB

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

Preview Lab → · Contrast checker → · Palette generator →

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