#CC45B5#CC45B5

#CC45B5 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.209 H 335.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC45B5
RGBrgb(204, 69, 181)
HSLhsl(310, 57%, 54%)
HSVhsv(310, 66%, 80%)
CMYKcmyk(0%, 66.2%, 11.3%, 20%)
CIE-LABlab(52.32, 65.15, -32.04)
CIE-LCHlch(52.32, 72.60, 333.81°)
OKLaboklab(61.64% 0.1899 -0.0873)
OKLCHoklch(61.64% 0.209 335.3)
XYZxyz(35.3708, 20.4328, 45.7881)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45B5 #45CC5C
analogous
#9F45CC #CC45B5 #CC4571
triadic
#CC45B5 #B5CC45 #45B5CC
tetradic
#CC45B5 #CC9F45 #45CC5C #4571CC
square
#CC45B5 #CC9F45 #45CC5C #4571CC
split-complementary
#CC45B5 #71CC45 #45CC9F
monochromatic
#762068 #A62E92 #CC45B5 #D975C8 #E6A5DB

Accessibility & contrast

On white

4.13
#CC45B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CC45B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45B5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45B5#FFFFFF#000000##000000
##CC45B51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4570B8
Deuteranopia (green-blind)
#7284B2
Tritanopia (blue-blind)
#D64E77
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc45b5;
/* rgb */ color: rgb(204, 69, 181);
/* oklch */ color: oklch(61.6% 0.209 335.3);
Tailwind
colors: {
  custom: {
    50: '#df83cb',
    500: '#cc45b5',
    950: '#000000',
  },
}
SCSS
$custom: #cc45b5;
$custom-light: #df83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45b5",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 310.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.20903,
    "h": 335.3
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#CC45B5
secondary
#99D3A3
accent
#E06248
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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