#CC4F87#CC4F87

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

Color values

HEX#CC4F87
RGBrgb(204, 79, 135)
HSLhsl(333, 55%, 55%)
HSVhsv(333, 61%, 80%)
CMYKcmyk(0%, 61.3%, 33.8%, 20%)
CIE-LABlab(52.04, 54.81, -5.35)
CIE-LCHlch(52.04, 55.07, 354.42°)
OKLaboklab(60.85% 0.1672 -0.0134)
OKLCHoklch(60.85% 0.168 355.4)
XYZxyz(32.0727, 20.1820, 25.1234)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F87 #4FCC94
analogous
#CC4FC5 #CC4F87 #CC554F
triadic
#CC4F87 #87CC4F #4F87CC
tetradic
#CC4F87 #C5CC4F #4FCC94 #554FCC
square
#CC4F87 #C5CC4F #4FCC94 #554FCC
split-complementary
#CC4F87 #4FCC55 #4FC5CC
monochromatic
#7D244C #AC3269 #CC4F87 #DA7EA7 #E7AEC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4F87#FFFFFF#000000##000000
##CC4F871.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)
#636E89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DB4665
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4f87;
/* rgb */ color: rgb(204, 79, 135);
/* oklch */ color: oklch(60.9% 0.168 355.4);
Tailwind
colors: {
  custom: {
    50: '#df87a9',
    500: '#cc4f87',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f87;
$custom-light: #df87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f87",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 333.12,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.16771,
    "h": 355.4
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#CC4F87
secondary
#A1D5BE
accent
#DE9C49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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