#CC3B87#CC3B87

#CC3B87 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.7% C 0.194 H 352.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC3B87
RGBrgb(204, 59, 135)
HSLhsl(329, 59%, 52%)
HSVhsv(329, 71%, 80%)
CMYKcmyk(0%, 71.1%, 33.8%, 20%)
CIE-LABlab(49.15, 62.75, -9.67)
CIE-LCHlch(49.15, 63.49, 351.24°)
OKLaboklab(58.72% 0.1921 -0.0248)
OKLCHoklch(58.72% 0.194 352.6)
XYZxyz(30.8408, 17.7182, 24.7128)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3B87 #3BCC80
analogous
#C93BCC #CC3B87 #CC3B3F
triadic
#CC3B87 #87CC3B #3B87CC
tetradic
#CC3B87 #CCC93B #3BCC80 #3B3FCC
square
#CC3B87 #CCC93B #3BCC80 #3B3FCC
split-complementary
#CC3B87 #3FCC3B #3BCCC9
monochromatic
#701D48 #A02A68 #CC3B87 #D96CA5 #E59CC2

Accessibility & contrast

On white

4.62
#CC3B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CC3B87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3B87
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3B87#FFFFFF#000000##FFFFFF
##CC3B871.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#7D7E84
Tritanopia (blue-blind)
#DB305C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3b87;
/* rgb */ color: rgb(204, 59, 135);
/* oklch */ color: oklch(58.7% 0.194 352.6);
Tailwind
colors: {
  custom: {
    50: '#e07caa',
    500: '#cc3b87',
    950: '#000000',
  },
}
SCSS
$custom: #cc3b87;
$custom-light: #e07caa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3b87",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 328.552,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.19366,
    "h": 352.6
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#CC3B87
secondary
#92D1B0
accent
#E29046
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC3B87

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

Preview Lab → · Contrast checker → · Palette generator →

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