#CC2D5B#CC2D5B

#CC2D5B is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.195 H 9.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CC2D5B
RGBrgb(204, 45, 91)
HSLhsl(343, 64%, 49%)
HSVhsv(343, 78%, 80%)
CMYKcmyk(0%, 77.9%, 55.4%, 20%)
CIE-LABlab(46.28, 63.19, 13.05)
CIE-LCHlch(46.28, 64.53, 11.67°)
OKLaboklab(56.19% 0.1918 0.033)
OKLCHoklch(56.19% 0.195 9.7)
XYZxyz(27.7312, 15.4735, 11.4220)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D5B #2DCC9E
analogous
#CC2DAB #CC2D5B #CC4F2D
triadic
#CC2D5B #5BCC2D #2D5BCC
tetradic
#CC2D5B #ABCC2D #2DCC9E #4F2DCC
square
#CC2D5B #ABCC2D #2DCC9E #4F2DCC
split-complementary
#CC2D5B #2DCC4F #2DABCC
monochromatic
#68172E #9A2245 #CC2D5B #DB5B80 #E68DA7

Accessibility & contrast

On white

5.13
#CC2D5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#CC2D5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D5B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D5B#FFFFFF#000000##FFFFFF
##CC2D5B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595C
Deuteranopia (green-blind)
#817957
Tritanopia (blue-blind)
#DF0041
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2d5b;
/* rgb */ color: rgb(204, 45, 91);
/* oklch */ color: oklch(56.2% 0.195 9.7);
Tailwind
colors: {
  custom: {
    50: '#e37589',
    500: '#cc2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d5b;
$custom-light: #e37589;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d5b",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 342.642,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.19464,
    "h": 9.7
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#CC2D5B
secondary
#85D0BA
accent
#E7B741
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#17090B
muted
#857B7C

Preview Lab

Preview with #CC2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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