#CC45AE#CC45AE

#CC45AE is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.3% C 0.204 H 337.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC45AE
RGBrgb(204, 69, 174)
HSLhsl(313, 57%, 54%)
HSVhsv(313, 66%, 80%)
CMYKcmyk(0%, 66.2%, 14.7%, 20%)
CIE-LABlab(52.01, 64.11, -28.45)
CIE-LCHlch(52.01, 70.14, 336.07°)
OKLaboklab(61.31% 0.189 -0.0771)
OKLCHoklch(61.31% 0.204 337.8)
XYZxyz(34.6706, 20.1527, 42.1001)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45AE #45CC63
analogous
#A645CC #CC45AE #CC456A
triadic
#CC45AE #AECC45 #45AECC
tetradic
#CC45AE #CCA645 #45CC63 #456ACC
square
#CC45AE #CCA645 #45CC63 #456ACC
split-complementary
#CC45AE #6ACC45 #45CCA6
monochromatic
#762063 #A62E8B #CC45AE #D975C3 #E6A5D8

Accessibility & contrast

On white

4.17
#CC45AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CC45AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45AE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45AE#FFFFFF#000000##000000
##CC45AE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc45ae;
/* rgb */ color: rgb(204, 69, 174);
/* oklch */ color: oklch(61.3% 0.204 337.8);
Tailwind
colors: {
  custom: {
    50: '#df82c6',
    500: '#cc45ae',
    950: '#000000',
  },
}
SCSS
$custom: #cc45ae;
$custom-light: #df82c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45ae",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 313.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.20409,
    "h": 337.8
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#CC45AE
secondary
#99D3A6
accent
#E06948
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC45AE

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

Preview Lab → · Contrast checker → · Palette generator →

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