#CC3F87#CC3F87

#CC3F87 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 59.1% C 0.189 H 353.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#CC3F87
RGBrgb(204, 63, 135)
HSLhsl(329, 58%, 52%)
HSVhsv(329, 69%, 80%)
CMYKcmyk(0%, 69.1%, 33.8%, 20%)
CIE-LABlab(49.67, 61.31, -8.89)
CIE-LCHlch(49.67, 61.95, 351.75°)
OKLaboklab(59.1% 0.1875 -0.0228)
OKLCHoklch(59.1% 0.189 353.1)
XYZxyz(31.0543, 18.1452, 24.7840)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F87 #3FCC84
analogous
#CB3FCC #CC3F87 #CC3F40
triadic
#CC3F87 #87CC3F #3F87CC
tetradic
#CC3F87 #CCCB3F #3FCC84 #3F40CC
square
#CC3F87 #CCCB3F #3FCC84 #3F40CC
split-complementary
#CC3F87 #40CC3F #3FCCCB
monochromatic
#721E49 #A32B68 #CC3F87 #D96FA5 #E6A0C3

Accessibility & contrast

On white

4.54
#CC3F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#CC3F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F87
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F87#FFFFFF#000000##000000
##CC3F871.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#576689
Deuteranopia (green-blind)
#7E7F84
Tritanopia (blue-blind)
#DB345E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3f87;
/* rgb */ color: rgb(204, 63, 135);
/* oklch */ color: oklch(59.1% 0.189 353.1);
Tailwind
colors: {
  custom: {
    50: '#e07eaa',
    500: '#cc3f87',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f87;
$custom-light: #e07eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f87",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 329.362,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.18889,
    "h": 353.1
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#CC3F87
secondary
#95D2B3
accent
#E19247
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3F87

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

Preview Lab → · Contrast checker → · Palette generator →

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