#CC48A8#CC48A8

#CC48A8 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.196 H 340.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC48A8
RGBrgb(204, 72, 168)
HSLhsl(316, 56%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 64.7%, 17.6%, 20%)
CIE-LABlab(52.18, 62.07, -24.67)
CIE-LCHlch(52.18, 66.79, 338.32°)
OKLaboklab(61.35% 0.1845 -0.0664)
OKLCHoklch(61.35% 0.196 340.2)
XYZxyz(34.2879, 20.3024, 39.1511)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48A8 #48CC6C
analogous
#AE48CC #CC48A8 #CC4866
triadic
#CC48A8 #A8CC48 #48A8CC
tetradic
#CC48A8 #CCAE48 #48CC6C #4866CC
square
#CC48A8 #CCAE48 #48CC6C #4866CC
split-complementary
#CC48A8 #66CC48 #48CCAE
monochromatic
#782160 #A82F87 #CC48A8 #D978BF #E7A8D6

Accessibility & contrast

On white

4.15
#CC48A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CC48A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48A8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48A8#FFFFFF#000000##000000
##CC48A81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAB
Deuteranopia (green-blind)
#7884A5
Tritanopia (blue-blind)
#D84B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc48a8;
/* rgb */ color: rgb(204, 72, 168);
/* oklch */ color: oklch(61.3% 0.196 340.2);
Tailwind
colors: {
  custom: {
    50: '#df84c2',
    500: '#cc48a8',
    950: '#000000',
  },
}
SCSS
$custom: #cc48a8;
$custom-light: #df84c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48a8",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 316.364,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.19604,
    "h": 340.2
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#CC48A8
secondary
#9CD4AB
accent
#E07148
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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