#CC48A5#CC48A5

#CC48A5 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.194 H 341.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CC48A5
RGBrgb(204, 72, 165)
HSLhsl(318, 56%, 54%)
HSVhsv(318, 65%, 80%)
CMYKcmyk(0%, 64.7%, 19.1%, 20%)
CIE-LABlab(52.05, 61.64, -23.10)
CIE-LCHlch(52.05, 65.83, 339.46°)
OKLaboklab(61.22% 0.1839 -0.062)
OKLCHoklch(61.22% 0.194 341.4)
XYZxyz(34.0116, 20.1919, 37.6962)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48A5 #48CC6F
analogous
#B148CC #CC48A5 #CC4863
triadic
#CC48A5 #A5CC48 #48A5CC
tetradic
#CC48A5 #CCB148 #48CC6F #4863CC
square
#CC48A5 #CCB148 #48CC6F #4863CC
split-complementary
#CC48A5 #63CC48 #48CCB1
monochromatic
#78215F #A82F84 #CC48A5 #D978BD #E7A8D4

Accessibility & contrast

On white

4.17
#CC48A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CC48A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48A5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48A5#FFFFFF#000000##000000
##CC48A51.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#7984A2
Tritanopia (blue-blind)
#D84A70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc48a5;
/* rgb */ color: rgb(204, 72, 165);
/* oklch */ color: oklch(61.2% 0.194 341.4);
Tailwind
colors: {
  custom: {
    50: '#df84c0',
    500: '#cc48a5',
    950: '#000000',
  },
}
SCSS
$custom: #cc48a5;
$custom-light: #df84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48a5",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 317.727,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61217,
    "c": 0.19406,
    "h": 341.4
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#CC48A5
secondary
#9CD4AC
accent
#E07548
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CC48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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