#CC3A87#CC3A87

#CC3A87 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.195 H 352.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC3A87
RGBrgb(204, 58, 135)
HSLhsl(328, 59%, 51%)
HSVhsv(328, 72%, 80%)
CMYKcmyk(0%, 71.6%, 33.8%, 20%)
CIE-LABlab(49.03, 63.10, -9.85)
CIE-LCHlch(49.03, 63.87, 351.13°)
OKLaboklab(58.63% 0.1932 -0.0253)
OKLCHoklch(58.63% 0.195 352.5)
XYZxyz(30.7899, 17.6163, 24.6958)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A87 #3ACC7F
analogous
#C83ACC #CC3A87 #CC3A3E
triadic
#CC3A87 #87CC3A #3A87CC
tetradic
#CC3A87 #CCC83A #3ACC7F #3A3ECC
square
#CC3A87 #CCC83A #3ACC7F #3A3ECC
split-complementary
#CC3A87 #3ECC3A #3ACCC8
monochromatic
#6F1D48 #A02968 #CC3A87 #D96BA5 #E59BC2

Accessibility & contrast

On white

4.64
#CC3A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CC3A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A87
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A87#FFFFFF#000000##FFFFFF
##CC3A871.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536489
Deuteranopia (green-blind)
#7C7E84
Tritanopia (blue-blind)
#DB2E5B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3a87;
/* rgb */ color: rgb(204, 58, 135);
/* oklch */ color: oklch(58.6% 0.195 352.5);
Tailwind
colors: {
  custom: {
    50: '#e07caa',
    500: '#cc3a87',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a87;
$custom-light: #e07caa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a87",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 328.356,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.19482,
    "h": 352.5
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#CC3A87
secondary
#91D1AF
accent
#E29046
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CC3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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