#CC2B71#CC2B71

#CC2B71 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.201 H 0.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CC2B71
RGBrgb(204, 43, 113)
HSLhsl(334, 65%, 48%)
HSVhsv(334, 79%, 80%)
CMYKcmyk(0%, 78.9%, 44.6%, 20%)
CIE-LABlab(46.66, 65.55, 0.03)
CIE-LCHlch(46.66, 65.55, 0.02°)
OKLaboklab(56.66% 0.2015 0.0008)
OKLCHoklch(56.66% 0.201 0.2)
XYZxyz(28.7487, 15.7613, 17.1480)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2B71 #2BCC86
analogous
#CC2BC1 #CC2B71 #CC352B
triadic
#CC2B71 #71CC2B #2B71CC
tetradic
#CC2B71 #C1CC2B #2BCC86 #352BCC
square
#CC2B71 #C1CC2B #2BCC86 #352BCC
split-complementary
#CC2B71 #2BCC35 #2BC1CC
monochromatic
#671639 #992055 #CC2B71 #DC5892 #E78BB3

Accessibility & contrast

On white

5.06
#CC2B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CC2B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2B71
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2B71#FFFFFF#000000##FFFFFF
##CC2B711.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B73
Deuteranopia (green-blind)
#7D7A6D
Tritanopia (blue-blind)
#DD004B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc2b71;
/* rgb */ color: rgb(204, 43, 113);
/* oklch */ color: oklch(56.7% 0.201 0.2);
Tailwind
colors: {
  custom: {
    50: '#e27599',
    500: '#cc2b71',
    950: '#000000',
  },
}
SCSS
$custom: #cc2b71;
$custom-light: #e27599;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2b71",
  "rgb": {
    "r": 204,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 333.913,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5666,
    "c": 0.20146,
    "h": 0.2
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#CC2B71
secondary
#82D0AE
accent
#E89F40
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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