#CC3E71#CC3E71

#CC3E71 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.3% C 0.182 H 2.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC3E71
RGBrgb(204, 62, 113)
HSLhsl(338, 58%, 52%)
HSVhsv(338, 70%, 80%)
CMYKcmyk(0%, 69.6%, 44.6%, 20%)
CIE-LABlab(48.86, 59.38, 3.22)
CIE-LCHlch(48.86, 59.47, 3.10°)
OKLaboklab(58.28% 0.1817 0.009)
OKLCHoklch(58.28% 0.182 2.8)
XYZxyz(29.6074, 17.4786, 17.4342)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3E71 #3ECC99
analogous
#CC3EB8 #CC3E71 #CC523E
triadic
#CC3E71 #71CC3E #3E71CC
tetradic
#CC3E71 #B8CC3E #3ECC99 #523ECC
square
#CC3E71 #B8CC3E #3ECC99 #523ECC
split-complementary
#CC3E71 #3ECC52 #3EB8CC
monochromatic
#721E3C #A22B56 #CC3E71 #D96E95 #E69FB8

Accessibility & contrast

On white

4.67
#CC3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#CC3E71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3E71
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3E71#FFFFFF#000000##FFFFFF
##CC3E711.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6272
Deuteranopia (green-blind)
#837E6E
Tritanopia (blue-blind)
#DD2953
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc3e71;
/* rgb */ color: rgb(204, 62, 113);
/* oklch */ color: oklch(58.3% 0.182 2.8);
Tailwind
colors: {
  custom: {
    50: '#e17d99',
    500: '#cc3e71',
    950: '#000000',
  },
}
SCSS
$custom: #cc3e71;
$custom-light: #e17d99;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3e71",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 338.451,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.18193,
    "h": 2.8
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#CC3E71
secondary
#94D2BC
accent
#E1AA46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0D
muted
#847C7E

Preview Lab

Preview with #CC3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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