#CC4F8D#CC4F8D

#CC4F8D is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.1% C 0.170 H 352.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CC4F8D
RGBrgb(204, 79, 141)
HSLhsl(330, 55%, 55%)
HSVhsv(330, 61%, 80%)
CMYKcmyk(0%, 61.3%, 30.9%, 20%)
CIE-LABlab(52.24, 55.54, -8.63)
CIE-LCHlch(52.24, 56.20, 351.16°)
OKLaboklab(61.06% 0.169 -0.0222)
OKLCHoklch(61.06% 0.17 352.5)
XYZxyz(32.5071, 20.3558, 27.4112)
Luminance0.2035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F8D #4FCC8E
analogous
#CC4FCB #CC4F8D #CC4F4F
triadic
#CC4F8D #8DCC4F #4F8DCC
tetradic
#CC4F8D #CBCC4F #4FCC8E #4F4FCC
square
#CC4F8D #CBCC4F #4FCC8E #4F4FCC
split-complementary
#CC4F8D #4FCC4F #4FCBCC
monochromatic
#7D2450 #AC326E #CC4F8D #DA7EAC #E7AECA

Accessibility & contrast

On white

4.14
#CC4F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CC4F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F8D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F8D#FFFFFF#000000##000000
##CC4F8D1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#616E8F
Deuteranopia (green-blind)
#83858A
Tritanopia (blue-blind)
#DA4868
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cc4f8d;
/* rgb */ color: rgb(204, 79, 141);
/* oklch */ color: oklch(61.1% 0.170 352.5);
Tailwind
colors: {
  custom: {
    50: '#df87ae',
    500: '#cc4f8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f8d;
$custom-light: #df87ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f8d",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 330.24,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61061,
    "c": 0.17045,
    "h": 352.5
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#CC4F8D
secondary
#A1D5BC
accent
#DE9449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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