#CC45AF#CC45AF

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

Color values

HEX#CC45AF
RGBrgb(204, 69, 175)
HSLhsl(313, 57%, 54%)
HSVhsv(313, 66%, 80%)
CMYKcmyk(0%, 66.2%, 14.2%, 20%)
CIE-LABlab(52.05, 64.26, -28.96)
CIE-LCHlch(52.05, 70.48, 335.74°)
OKLaboklab(61.36% 0.1891 -0.0785)
OKLCHoklch(61.36% 0.205 337.5)
XYZxyz(34.7684, 20.1918, 42.6154)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC45AF #45CC62
analogous
#A545CC #CC45AF #CC456B
triadic
#CC45AF #AFCC45 #45AFCC
tetradic
#CC45AF #CCA545 #45CC62 #456BCC
square
#CC45AF #CCA545 #45CC62 #456BCC
split-complementary
#CC45AF #6BCC45 #45CCA5
monochromatic
#762064 #A62E8C #CC45AF #D975C4 #E6A5D8

Accessibility & contrast

On white

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

On black

5.04
#CC45AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC45AF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC45AF#FFFFFF#000000##000000
##CC45AF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#D74C74
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc45af;
/* rgb */ color: rgb(204, 69, 175);
/* oklch */ color: oklch(61.4% 0.205 337.5);
Tailwind
colors: {
  custom: {
    50: '#df82c7',
    500: '#cc45af',
    950: '#000000',
  },
}
SCSS
$custom: #cc45af;
$custom-light: #df82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc45af",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 312.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.20479,
    "h": 337.5
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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