#CC3B71#CC3B71

#CC3B71 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 58.0% C 0.185 H 2.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#CC3B71
RGBrgb(204, 59, 113)
HSLhsl(338, 59%, 52%)
HSVhsv(338, 71%, 80%)
CMYKcmyk(0%, 71.1%, 44.6%, 20%)
CIE-LABlab(48.46, 60.48, 2.65)
CIE-LCHlch(48.46, 60.54, 2.51°)
OKLaboklab(57.99% 0.1852 0.0075)
OKLCHoklch(57.99% 0.185 2.3)
XYZxyz(29.4487, 17.1613, 17.3813)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3B71 #3BCC96
analogous
#CC3BBA #CC3B71 #CC4E3B
triadic
#CC3B71 #71CC3B #3B71CC
tetradic
#CC3B71 #BACC3B #3BCC96 #4E3BCC
square
#CC3B71 #BACC3B #3BCC96 #4E3BCC
split-complementary
#CC3B71 #3BCC4E #3BBACC
monochromatic
#701D3C #A02A56 #CC3B71 #D96C94 #E59CB7

Accessibility & contrast

On white

4.74
#CC3B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#CC3B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3B71
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3B71#FFFFFF#000000##FFFFFF
##CC3B711.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6172
Deuteranopia (green-blind)
#827D6E
Tritanopia (blue-blind)
#DD2451
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3b71;
/* rgb */ color: rgb(204, 59, 113);
/* oklch */ color: oklch(58.0% 0.185 2.3);
Tailwind
colors: {
  custom: {
    50: '#e17c99',
    500: '#cc3b71',
    950: '#000000',
  },
}
SCSS
$custom: #cc3b71;
$custom-light: #e17c99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3b71",
  "rgb": {
    "r": 204,
    "g": 59,
    "b": 113
  },
  "hsl": {
    "h": 337.655,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57986,
    "c": 0.18536,
    "h": 2.3
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#CC3B71
secondary
#92D1BA
accent
#E2A846
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3B71

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

Preview Lab → · Contrast checker → · Palette generator →

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