#CC48AB#CC48AB

#CC48AB is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.5% C 0.198 H 339.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CC48AB
RGBrgb(204, 72, 171)
HSLhsl(315, 56%, 54%)
HSVhsv(315, 65%, 80%)
CMYKcmyk(0%, 64.7%, 16.2%, 20%)
CIE-LABlab(52.30, 62.50, -26.23)
CIE-LCHlch(52.30, 67.78, 337.23°)
OKLaboklab(61.48% 0.185 -0.0708)
OKLCHoklch(61.48% 0.198 339.1)
XYZxyz(34.5706, 20.4154, 40.6400)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48AB #48CC69
analogous
#AB48CC #CC48AB #CC4869
triadic
#CC48AB #ABCC48 #48ABCC
tetradic
#CC48AB #CCAB48 #48CC69 #4869CC
square
#CC48AB #CCAB48 #48CC69 #4869CC
split-complementary
#CC48AB #69CC48 #48CCAB
monochromatic
#782162 #A82F8A #CC48AB #D978C1 #E7A8D7

Accessibility & contrast

On white

4.13
#CC48AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC48AB#FFFFFF#000000##000000
##CC48AB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AE
Deuteranopia (green-blind)
#7784A8
Tritanopia (blue-blind)
#D74C73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc48ab;
/* rgb */ color: rgb(204, 72, 171);
/* oklch */ color: oklch(61.5% 0.198 339.1);
Tailwind
colors: {
  custom: {
    50: '#df84c4',
    500: '#cc48ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc48ab;
$custom-light: #df84c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48ab",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 315,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.19807,
    "h": 339.1
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#CC48AB
secondary
#9CD4AA
accent
#E06E48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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