#CC3771#CC3771

#CC3771 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.190 H 1.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CC3771
RGBrgb(204, 55, 113)
HSLhsl(337, 59%, 51%)
HSVhsv(337, 73%, 80%)
CMYKcmyk(0%, 73%, 44.6%, 20%)
CIE-LABlab(47.96, 61.87, 1.93)
CIE-LCHlch(47.96, 61.90, 1.78°)
OKLaboklab(57.62% 0.1897 0.0056)
OKLCHoklch(57.62% 0.19 1.7)
XYZxyz(29.2509, 16.7658, 17.3154)
Luminance0.1676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3771 #37CC92
analogous
#CC37BC #CC3771 #CC4737
triadic
#CC3771 #71CC37 #3771CC
tetradic
#CC3771 #BCCC37 #37CC92 #4737CC
square
#CC3771 #BCCC37 #37CC92 #4737CC
split-complementary
#CC3771 #37CC47 #37BCCC
monochromatic
#6D1C3B #9E2856 #CC3771 #D86894 #E599B6

Accessibility & contrast

On white

4.82
#CC3771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#CC3771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3771
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3771#FFFFFF#000000##FFFFFF
##CC37711.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#807C6E
Tritanopia (blue-blind)
#DD1D50
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc3771;
/* rgb */ color: rgb(204, 55, 113);
/* oklch */ color: oklch(57.6% 0.190 1.7);
Tailwind
colors: {
  custom: {
    50: '#e17a99',
    500: '#cc3771',
    950: '#000000',
  },
}
SCSS
$custom: #cc3771;
$custom-light: #e17a99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3771",
  "rgb": {
    "r": 204,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 336.644,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57618,
    "c": 0.18974,
    "h": 1.7
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#CC3771
secondary
#8ED0B7
accent
#E3A545
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC3771

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

Preview Lab → · Contrast checker → · Palette generator →

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