#CC48A2#CC48A2

#CC48A2 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.192 H 342.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CC48A2
RGBrgb(204, 72, 162)
HSLhsl(319, 56%, 54%)
HSVhsv(319, 65%, 80%)
CMYKcmyk(0%, 64.7%, 20.6%, 20%)
CIE-LABlab(51.93, 61.23, -21.52)
CIE-LCHlch(51.93, 64.90, 340.63°)
OKLaboklab(61.09% 0.1833 -0.0576)
OKLCHoklch(61.09% 0.192 342.6)
XYZxyz(33.7418, 20.0839, 36.2750)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48A2 #48CC72
analogous
#B448CC #CC48A2 #CC4860
triadic
#CC48A2 #A2CC48 #48A2CC
tetradic
#CC48A2 #CCB448 #48CC72 #4860CC
square
#CC48A2 #CCB448 #48CC72 #4860CC
split-complementary
#CC48A2 #60CC48 #48CCB4
monochromatic
#78215D #A82F81 #CC48A2 #D978BA #E7A8D3

Accessibility & contrast

On white

4.19
#CC48A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CC48A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48A2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48A2#FFFFFF#000000##000000
##CC48A21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#536EA5
Deuteranopia (green-blind)
#7A849F
Tritanopia (blue-blind)
#D8496F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc48a2;
/* rgb */ color: rgb(204, 72, 162);
/* oklch */ color: oklch(61.1% 0.192 342.6);
Tailwind
colors: {
  custom: {
    50: '#df84bd',
    500: '#cc48a2',
    950: '#000000',
  },
}
SCSS
$custom: #cc48a2;
$custom-light: #df84bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48a2",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 319.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.19212,
    "h": 342.6
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#CC48A2
secondary
#9CD4AE
accent
#E07848
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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