#CC2D5D#CC2D5D

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

Color values

HEX#CC2D5D
RGBrgb(204, 45, 93)
HSLhsl(342, 64%, 49%)
HSVhsv(342, 78%, 80%)
CMYKcmyk(0%, 77.9%, 54.4%, 20%)
CIE-LABlab(46.32, 63.34, 11.88)
CIE-LCHlch(46.32, 64.44, 10.62°)
OKLaboklab(56.24% 0.1926 0.0302)
OKLCHoklch(56.24% 0.195 8.9)
XYZxyz(27.8187, 15.5085, 11.8824)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D5D #2DCC9C
analogous
#CC2DAD #CC2D5D #CC4D2D
triadic
#CC2D5D #5DCC2D #2D5DCC
tetradic
#CC2D5D #ADCC2D #2DCC9C #4D2DCC
square
#CC2D5D #ADCC2D #2DCC9C #4D2DCC
split-complementary
#CC2D5D #2DCC4D #2DADCC
monochromatic
#68172F #9A2246 #CC2D5D #DB5B82 #E68DA8

Accessibility & contrast

On white

5.12
#CC2D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CC2D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D5D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D5D#FFFFFF#000000##FFFFFF
##CC2D5D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595E
Deuteranopia (green-blind)
#817959
Tritanopia (blue-blind)
#DF0042
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2d5d;
/* rgb */ color: rgb(204, 45, 93);
/* oklch */ color: oklch(56.2% 0.195 8.9);
Tailwind
colors: {
  custom: {
    50: '#e2758a',
    500: '#cc2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d5d;
$custom-light: #e2758a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d5d",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 341.887,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.19493,
    "h": 8.9
  },
  "luminance": 0.15504
}

Semantic roles & 50–950 ramp

primary
#CC2D5D
secondary
#85D0B9
accent
#E7B541
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090B
muted
#857B7C

Preview Lab

Preview with #CC2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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