#CC45AD#CC45AD

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

Color values

HEX#CC45AD
RGBrgb(204, 69, 173)
HSLhsl(314, 57%, 54%)
HSVhsv(314, 66%, 80%)
CMYKcmyk(0%, 66.2%, 15.2%, 20%)
CIE-LABlab(51.97, 63.97, -27.93)
CIE-LCHlch(51.97, 69.80, 336.41°)
OKLaboklab(61.26% 0.1888 -0.0756)
OKLCHoklch(61.26% 0.203 338.2)
XYZxyz(34.5734, 20.1138, 41.5885)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45AD #45CC64
analogous
#A745CC #CC45AD #CC4569
triadic
#CC45AD #ADCC45 #45ADCC
tetradic
#CC45AD #CCA745 #45CC64 #4569CC
square
#CC45AD #CCA745 #45CC64 #4569CC
split-complementary
#CC45AD #69CC45 #45CCA7
monochromatic
#762062 #A62E8B #CC45AD #D975C2 #E6A5D7

Accessibility & contrast

On white

4.18
#CC45AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CC45AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45AD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45AD#FFFFFF#000000##000000
##CC45AD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6EB0
Deuteranopia (green-blind)
#7584AA
Tritanopia (blue-blind)
#D74B73
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc45ad;
/* rgb */ color: rgb(204, 69, 173);
/* oklch */ color: oklch(61.3% 0.203 338.2);
Tailwind
colors: {
  custom: {
    50: '#df82c5',
    500: '#cc45ad',
    950: '#000000',
  },
}
SCSS
$custom: #cc45ad;
$custom-light: #df82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45ad",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 313.778,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.2034,
    "h": 338.2
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#CC45AD
secondary
#99D3A7
accent
#E06B48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC45AD

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

Preview Lab → · Contrast checker → · Palette generator →

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