#CC45B4#CC45B4

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

Color values

HEX#CC45B4
RGBrgb(204, 69, 180)
HSLhsl(311, 57%, 54%)
HSVhsv(311, 66%, 80%)
CMYKcmyk(0%, 66.2%, 11.8%, 20%)
CIE-LABlab(52.28, 65.00, -31.53)
CIE-LCHlch(52.28, 72.24, 334.12°)
OKLaboklab(61.59% 0.1898 -0.0858)
OKLCHoklch(61.59% 0.208 335.7)
XYZxyz(35.2686, 20.3919, 45.2497)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45B4 #45CC5D
analogous
#A045CC #CC45B4 #CC4570
triadic
#CC45B4 #B4CC45 #45B4CC
tetradic
#CC45B4 #CCA045 #45CC5D #4570CC
square
#CC45B4 #CCA045 #45CC5D #4570CC
split-complementary
#CC45B4 #70CC45 #45CCA0
monochromatic
#762067 #A62E91 #CC45B4 #D975C7 #E6A5DB

Accessibility & contrast

On white

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

On black

5.08
#CC45B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45B4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45B4#FFFFFF#000000##000000
##CC45B41.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4670B7
Deuteranopia (green-blind)
#7284B1
Tritanopia (blue-blind)
#D64E76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc45b4;
/* rgb */ color: rgb(204, 69, 180);
/* oklch */ color: oklch(61.6% 0.208 335.7);
Tailwind
colors: {
  custom: {
    50: '#df83cb',
    500: '#cc45b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc45b4;
$custom-light: #df83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45b4",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 310.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61592,
    "c": 0.20832,
    "h": 335.7
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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