#CC48B4#CC48B4

#CC48B4 is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 61.9% C 0.204 H 335.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CC48B4
RGBrgb(204, 72, 180)
HSLhsl(311, 56%, 54%)
HSVhsv(311, 65%, 80%)
CMYKcmyk(0%, 64.7%, 11.8%, 20%)
CIE-LABlab(52.70, 63.83, -30.88)
CIE-LCHlch(52.70, 70.91, 334.19°)
OKLaboklab(61.9% 0.1863 -0.084)
OKLCHoklch(61.9% 0.204 335.7)
XYZxyz(35.4578, 20.7703, 45.3128)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48B4 #48CC60
analogous
#A248CC #CC48B4 #CC4872
triadic
#CC48B4 #B4CC48 #48B4CC
tetradic
#CC48B4 #CCA248 #48CC60 #4872CC
square
#CC48B4 #CCA248 #48CC60 #4872CC
split-complementary
#CC48B4 #72CC48 #48CCA2
monochromatic
#782168 #A82F92 #CC48B4 #D978C8 #E7A8DB

Accessibility & contrast

On white

4.07
#CC48B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CC48B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48B4
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48B4#FFFFFF#000000##000000
##CC48B41.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B7
Deuteranopia (green-blind)
#7485B1
Tritanopia (blue-blind)
#D65078
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc48b4;
/* rgb */ color: rgb(204, 72, 180);
/* oklch */ color: oklch(61.9% 0.204 335.7);
Tailwind
colors: {
  custom: {
    50: '#df84ca',
    500: '#cc48b4',
    950: '#000000',
  },
}
SCSS
$custom: #cc48b4;
$custom-light: #df84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48b4",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 310.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61898,
    "c": 0.20441,
    "h": 335.7
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#CC48B4
secondary
#9CD4A6
accent
#E06448
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC48B4

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

Preview Lab → · Contrast checker → · Palette generator →

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