#CC4F8A#CC4F8A

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

Color values

HEX#CC4F8A
RGBrgb(204, 79, 138)
HSLhsl(332, 55%, 55%)
HSVhsv(332, 61%, 80%)
CMYKcmyk(0%, 61.3%, 32.4%, 20%)
CIE-LABlab(52.14, 55.17, -7.00)
CIE-LCHlch(52.14, 55.61, 352.77°)
OKLaboklab(60.96% 0.1681 -0.0178)
OKLCHoklch(60.96% 0.169 354)
XYZxyz(32.2869, 20.2677, 26.2515)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F8A #4FCC91
analogous
#CC4FC8 #CC4F8A #CC524F
triadic
#CC4F8A #8ACC4F #4F8ACC
tetradic
#CC4F8A #C8CC4F #4FCC91 #524FCC
square
#CC4F8A #C8CC4F #4FCC91 #524FCC
split-complementary
#CC4F8A #4FCC52 #4FC8CC
monochromatic
#7D244E #AC326B #CC4F8A #DA7EAA #E7AEC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4F8A#FFFFFF#000000##000000
##CC4F8A1.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)
#626E8C
Deuteranopia (green-blind)
#848587
Tritanopia (blue-blind)
#DB4766
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4f8a;
/* rgb */ color: rgb(204, 79, 138);
/* oklch */ color: oklch(61.0% 0.169 354.0);
Tailwind
colors: {
  custom: {
    50: '#df87ac',
    500: '#cc4f8a',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f8a;
$custom-light: #df87ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f8a",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 138
  },
  "hsl": {
    "h": 331.68,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.16904,
    "h": 354
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#CC4F8A
secondary
#A1D5BD
accent
#DE9849
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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