#CC2D5E#CC2D5E

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

Color values

HEX#CC2D5E
RGBrgb(204, 45, 94)
HSLhsl(342, 64%, 49%)
HSVhsv(342, 78%, 80%)
CMYKcmyk(0%, 77.9%, 53.9%, 20%)
CIE-LABlab(46.35, 63.41, 11.29)
CIE-LCHlch(46.35, 64.41, 10.10°)
OKLaboklab(56.26% 0.193 0.0288)
OKLCHoklch(56.26% 0.195 8.5)
XYZxyz(27.8632, 15.5263, 12.1172)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D5E #2DCC9B
analogous
#CC2DAE #CC2D5E #CC4B2D
triadic
#CC2D5E #5ECC2D #2D5ECC
tetradic
#CC2D5E #AECC2D #2DCC9B #4B2DCC
square
#CC2D5E #AECC2D #2DCC9B #4B2DCC
split-complementary
#CC2D5E #2DCC4B #2DAECC
monochromatic
#681730 #9A2247 #CC2D5E #DB5B83 #E68DA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2D5E#FFFFFF#000000##FFFFFF
##CC2D5E1.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)
#58595F
Deuteranopia (green-blind)
#81795A
Tritanopia (blue-blind)
#DF0042
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2d5e;
/* rgb */ color: rgb(204, 45, 94);
/* oklch */ color: oklch(56.3% 0.195 8.5);
Tailwind
colors: {
  custom: {
    50: '#e2758b',
    500: '#cc2d5e',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d5e;
$custom-light: #e2758b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d5e",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 94
  },
  "hsl": {
    "h": 341.509,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56263,
    "c": 0.1951,
    "h": 8.5
  },
  "luminance": 0.15522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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