#CC45B0#CC45B0

#CC45B0 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.205 H 337.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CC45B0
RGBrgb(204, 69, 176)
HSLhsl(312, 57%, 54%)
HSVhsv(312, 66%, 80%)
CMYKcmyk(0%, 66.2%, 13.7%, 20%)
CIE-LABlab(52.10, 64.40, -29.48)
CIE-LCHlch(52.10, 70.83, 335.41°)
OKLaboklab(61.4% 0.1893 -0.08)
OKLCHoklch(61.4% 0.205 337.1)
XYZxyz(34.8670, 20.2312, 43.1346)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45B0 #45CC61
analogous
#A445CC #CC45B0 #CC456C
triadic
#CC45B0 #B0CC45 #45B0CC
tetradic
#CC45B0 #CCA445 #45CC61 #456CCC
square
#CC45B0 #CCA445 #45CC61 #456CCC
split-complementary
#CC45B0 #6CCC45 #45CCA4
monochromatic
#762064 #A62E8D #CC45B0 #D975C4 #E6A5D9

Accessibility & contrast

On white

4.16
#CC45B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CC45B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45B0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45B0#FFFFFF#000000##000000
##CC45B01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#486FB3
Deuteranopia (green-blind)
#7484AD
Tritanopia (blue-blind)
#D64C74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc45b0;
/* rgb */ color: rgb(204, 69, 176);
/* oklch */ color: oklch(61.4% 0.205 337.1);
Tailwind
colors: {
  custom: {
    50: '#df82c8',
    500: '#cc45b0',
    950: '#000000',
  },
}
SCSS
$custom: #cc45b0;
$custom-light: #df82c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45b0",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 312.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.20548,
    "h": 337.1
  },
  "luminance": 0.20228
}

Semantic roles & 50–950 ramp

primary
#CC45B0
secondary
#99D3A5
accent
#E06748
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC45B0

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

Preview Lab → · Contrast checker → · Palette generator →

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