#CC3D87#CC3D87

#CC3D87 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.191 H 352.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CC3D87
RGBrgb(204, 61, 135)
HSLhsl(329, 58%, 52%)
HSVhsv(329, 70%, 80%)
CMYKcmyk(0%, 70.1%, 33.8%, 20%)
CIE-LABlab(49.41, 62.04, -9.28)
CIE-LCHlch(49.41, 62.73, 351.49°)
OKLaboklab(58.91% 0.1898 -0.0238)
OKLCHoklch(58.91% 0.191 352.8)
XYZxyz(30.9455, 17.9277, 24.7477)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3D87 #3DCC82
analogous
#C93DCC #CC3D87 #CC3D40
triadic
#CC3D87 #87CC3D #3D87CC
tetradic
#CC3D87 #CCC93D #3DCC82 #3D40CC
square
#CC3D87 #CCC93D #3DCC82 #3D40CC
split-complementary
#CC3D87 #40CC3D #3DCCC9
monochromatic
#711E49 #A12A68 #CC3D87 #D96DA5 #E59EC3

Accessibility & contrast

On white

4.58
#CC3D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC3D87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3D87
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3D87#FFFFFF#000000##000000
##CC3D871.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#556589
Deuteranopia (green-blind)
#7D7F84
Tritanopia (blue-blind)
#DB325D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3d87;
/* rgb */ color: rgb(204, 61, 135);
/* oklch */ color: oklch(58.9% 0.191 352.8);
Tailwind
colors: {
  custom: {
    50: '#e07daa',
    500: '#cc3d87',
    950: '#000000',
  },
}
SCSS
$custom: #cc3d87;
$custom-light: #e07daa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3d87",
  "rgb": {
    "r": 204,
    "g": 61,
    "b": 135
  },
  "hsl": {
    "h": 328.951,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.1913,
    "h": 352.8
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#CC3D87
secondary
#93D2B1
accent
#E29146
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3D87

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

Preview Lab → · Contrast checker → · Palette generator →

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