#CC45B3#CC45B3

#CC45B3 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.208 H 336.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC45B3
RGBrgb(204, 69, 179)
HSLhsl(311, 57%, 54%)
HSVhsv(311, 66%, 80%)
CMYKcmyk(0%, 66.2%, 12.3%, 20%)
CIE-LABlab(52.23, 64.85, -31.02)
CIE-LCHlch(52.23, 71.88, 334.44°)
OKLaboklab(61.54% 0.1897 -0.0844)
OKLCHoklch(61.54% 0.208 336)
XYZxyz(35.1671, 20.3513, 44.7151)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45B3 #45CC5E
analogous
#A145CC #CC45B3 #CC456F
triadic
#CC45B3 #B3CC45 #45B3CC
tetradic
#CC45B3 #CCA145 #45CC5E #456FCC
square
#CC45B3 #CCA145 #45CC5E #456FCC
split-complementary
#CC45B3 #6FCC45 #45CCA1
monochromatic
#762066 #A62E90 #CC45B3 #D975C7 #E6A5DA

Accessibility & contrast

On white

4.14
#CC45B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC45B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45B3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45B3#FFFFFF#000000##000000
##CC45B31.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4770B6
Deuteranopia (green-blind)
#7384B0
Tritanopia (blue-blind)
#D64D76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc45b3;
/* rgb */ color: rgb(204, 69, 179);
/* oklch */ color: oklch(61.5% 0.208 336.0);
Tailwind
colors: {
  custom: {
    50: '#df83ca',
    500: '#cc45b3',
    950: '#000000',
  },
}
SCSS
$custom: #cc45b3;
$custom-light: #df83ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45b3",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 311.111,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61544,
    "c": 0.2076,
    "h": 336
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#CC45B3
secondary
#99D3A4
accent
#E06448
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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