#CC4F86#CC4F86

#CC4F86 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.167 H 355.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CC4F86
RGBrgb(204, 79, 134)
HSLhsl(334, 55%, 55%)
HSVhsv(334, 61%, 80%)
CMYKcmyk(0%, 61.3%, 34.3%, 20%)
CIE-LABlab(52.01, 54.69, -4.81)
CIE-LCHlch(52.01, 54.91, 354.98°)
OKLaboklab(60.82% 0.1669 -0.012)
OKLCHoklch(60.82% 0.167 355.9)
XYZxyz(32.0026, 20.1540, 24.7544)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F86 #4FCC95
analogous
#CC4FC4 #CC4F86 #CC564F
triadic
#CC4F86 #86CC4F #4F86CC
tetradic
#CC4F86 #C4CC4F #4FCC95 #564FCC
square
#CC4F86 #C4CC4F #4FCC95 #564FCC
split-complementary
#CC4F86 #4FCC56 #4FC4CC
monochromatic
#7D244B #AC3268 #CC4F86 #DA7EA7 #E7AEC7

Accessibility & contrast

On white

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

On black

5.03
#CC4F86 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F86
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F86#FFFFFF#000000##000000
##CC4F861.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#636D88
Deuteranopia (green-blind)
#858583
Tritanopia (blue-blind)
#DB4665
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc4f86;
/* rgb */ color: rgb(204, 79, 134);
/* oklch */ color: oklch(60.8% 0.167 355.9);
Tailwind
colors: {
  custom: {
    50: '#df87a9',
    500: '#cc4f86',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f86;
$custom-light: #df87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f86",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 134
  },
  "hsl": {
    "h": 333.6,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60819,
    "c": 0.16729,
    "h": 355.9
  },
  "luminance": 0.20151
}

Semantic roles & 50–950 ramp

primary
#CC4F86
secondary
#A1D5BF
accent
#DE9D49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC4F86

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

Preview Lab → · Contrast checker → · Palette generator →

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