#CC2971#CC2971

#CC2971 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.5% C 0.203 H 0.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#CC2971
RGBrgb(204, 41, 113)
HSLhsl(333, 67%, 48%)
HSVhsv(333, 80%, 80%)
CMYKcmyk(0%, 79.9%, 44.6%, 20%)
CIE-LABlab(46.47, 66.08, -0.25)
CIE-LCHlch(46.47, 66.08, 359.79°)
OKLaboklab(56.52% 0.2032 0.0001)
OKLCHoklch(56.52% 0.203 0)
XYZxyz(28.6777, 15.6194, 17.1243)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2971 #29CC84
analogous
#CC29C2 #CC2971 #CC3229
triadic
#CC2971 #71CC29 #2971CC
tetradic
#CC2971 #C2CC29 #29CC84 #3229CC
square
#CC2971 #C2CC29 #29CC84 #3229CC
split-complementary
#CC2971 #29CC32 #29C2CC
monochromatic
#661539 #991F55 #CC2971 #DD5591 #E788B2

Accessibility & contrast

On white

5.09
#CC2971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#CC2971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2971
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2971#FFFFFF#000000##FFFFFF
##CC29711.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A73
Deuteranopia (green-blind)
#7C796D
Tritanopia (blue-blind)
#DE004A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2971;
/* rgb */ color: rgb(204, 41, 113);
/* oklch */ color: oklch(56.5% 0.203 0.0);
Tailwind
colors: {
  custom: {
    50: '#e27599',
    500: '#cc2971',
    950: '#000000',
  },
}
SCSS
$custom: #cc2971;
$custom-light: #e27599;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2971",
  "rgb": {
    "r": 204,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 333.497,
    "s": 66.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.20319,
    "h": 0
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#CC2971
secondary
#80D1AD
accent
#E99E3E
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #CC2971

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

Preview Lab → · Contrast checker → · Palette generator →

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