#CC48AD#CC48AD

#CC48AD is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.6% C 0.199 H 338.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CC48AD
RGBrgb(204, 72, 173)
HSLhsl(314, 56%, 54%)
HSVhsv(314, 65%, 80%)
CMYKcmyk(0%, 64.7%, 15.2%, 20%)
CIE-LABlab(52.39, 62.79, -27.27)
CIE-LCHlch(52.39, 68.46, 336.52°)
OKLaboklab(61.57% 0.1853 -0.0738)
OKLCHoklch(61.57% 0.199 338.3)
XYZxyz(34.7627, 20.4923, 41.6516)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48AD #48CC67
analogous
#A948CC #CC48AD #CC486B
triadic
#CC48AD #ADCC48 #48ADCC
tetradic
#CC48AD #CCA948 #48CC67 #486BCC
square
#CC48AD #CCA948 #48CC67 #486BCC
split-complementary
#CC48AD #6BCC48 #48CCA9
monochromatic
#782164 #A82F8C #CC48AD #D978C2 #E7A8D8

Accessibility & contrast

On white

4.12
#CC48AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CC48AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48AD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48AD#FFFFFF#000000##000000
##CC48AD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B0
Deuteranopia (green-blind)
#7684AA
Tritanopia (blue-blind)
#D74D74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc48ad;
/* rgb */ color: rgb(204, 72, 173);
/* oklch */ color: oklch(61.6% 0.199 338.3);
Tailwind
colors: {
  custom: {
    50: '#df84c5',
    500: '#cc48ad',
    950: '#000000',
  },
}
SCSS
$custom: #cc48ad;
$custom-light: #df84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48ad",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 314.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61572,
    "c": 0.19945,
    "h": 338.3
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#CC48AD
secondary
#9CD4A9
accent
#E06C48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC48AD

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

Preview Lab → · Contrast checker → · Palette generator →

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