#CC48A7#CC48A7

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

Color values

HEX#CC48A7
RGBrgb(204, 72, 167)
HSLhsl(317, 56%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 64.7%, 18.1%, 20%)
CIE-LABlab(52.14, 61.93, -24.15)
CIE-LCHlch(52.14, 66.47, 338.70°)
OKLaboklab(61.3% 0.1843 -0.0649)
OKLCHoklch(61.3% 0.195 340.6)
XYZxyz(34.1951, 20.2652, 38.6624)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC48A7 #48CC6D
analogous
#AF48CC #CC48A7 #CC4865
triadic
#CC48A7 #A7CC48 #48A7CC
tetradic
#CC48A7 #CCAF48 #48CC6D #4865CC
square
#CC48A7 #CCAF48 #48CC6D #4865CC
split-complementary
#CC48A7 #65CC48 #48CCAF
monochromatic
#782160 #A82F86 #CC48A7 #D978BE #E7A8D5

Accessibility & contrast

On white

4.16
#CC48A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CC48A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC48A7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC48A7#FFFFFF#000000##000000
##CC48A71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc48a7;
/* rgb */ color: rgb(204, 72, 167);
/* oklch */ color: oklch(61.3% 0.195 340.6);
Tailwind
colors: {
  custom: {
    50: '#df84c1',
    500: '#cc48a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc48a7;
$custom-light: #df84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc48a7",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 316.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.19538,
    "h": 340.6
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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