#CC48B2#CC48B2

#CC48B2 is a mid, highly saturated pink. Relative luminance 0.207; OKLCH L 61.8% C 0.203 H 336.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC48B2
RGBrgb(204, 72, 178)
HSLhsl(312, 56%, 54%)
HSVhsv(312, 65%, 80%)
CMYKcmyk(0%, 64.7%, 12.7%, 20%)
CIE-LABlab(52.61, 63.53, -29.85)
CIE-LCHlch(52.61, 70.19, 334.83°)
OKLaboklab(61.8% 0.1861 -0.0811)
OKLCHoklch(61.8% 0.203 336.5)
XYZxyz(35.2556, 20.6894, 44.2475)
Luminance0.2069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48B2 #48CC62
analogous
#A448CC #CC48B2 #CC4870
triadic
#CC48B2 #B2CC48 #48B2CC
tetradic
#CC48B2 #CCA448 #48CC62 #4870CC
square
#CC48B2 #CCA448 #48CC62 #4870CC
split-complementary
#CC48B2 #70CC48 #48CCA4
monochromatic
#782167 #A82F90 #CC48B2 #D978C6 #E7A8DA

Accessibility & contrast

On white

4.09
#CC48B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CC48B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48B2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48B2#FFFFFF#000000##000000
##CC48B21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#D64F77
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc48b2;
/* rgb */ color: rgb(204, 72, 178);
/* oklch */ color: oklch(61.8% 0.203 336.5);
Tailwind
colors: {
  custom: {
    50: '#df84c9',
    500: '#cc48b2',
    950: '#000000',
  },
}
SCSS
$custom: #cc48b2;
$custom-light: #df84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48b2",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 311.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.20297,
    "h": 336.5
  },
  "luminance": 0.20686
}

Semantic roles & 50–950 ramp

primary
#CC48B2
secondary
#9CD4A7
accent
#E06648
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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