#CC2D5F#CC2D5F

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

Color values

HEX#CC2D5F
RGBrgb(204, 45, 95)
HSLhsl(341, 64%, 49%)
HSVhsv(341, 78%, 80%)
CMYKcmyk(0%, 77.9%, 53.4%, 20%)
CIE-LABlab(46.37, 63.49, 10.71)
CIE-LCHlch(46.37, 64.39, 9.58°)
OKLaboklab(56.29% 0.1933 0.0274)
OKLCHoklch(56.29% 0.195 8.1)
XYZxyz(27.9084, 15.5444, 12.3550)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D5F #2DCC9A
analogous
#CC2DAF #CC2D5F #CC4B2D
triadic
#CC2D5F #5FCC2D #2D5FCC
tetradic
#CC2D5F #AFCC2D #2DCC9A #4B2DCC
square
#CC2D5F #AFCC2D #2DCC9A #4B2DCC
split-complementary
#CC2D5F #2DCC4B #2DAFCC
monochromatic
#681730 #9A2248 #CC2D5F #DB5B83 #E68DA9

Accessibility & contrast

On white

5.11
#CC2D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#CC2D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D5F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D5F#FFFFFF#000000##FFFFFF
##CC2D5F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A60
Deuteranopia (green-blind)
#81795B
Tritanopia (blue-blind)
#DF0043
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc2d5f;
/* rgb */ color: rgb(204, 45, 95);
/* oklch */ color: oklch(56.3% 0.195 8.1);
Tailwind
colors: {
  custom: {
    50: '#e2758c',
    500: '#cc2d5f',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d5f;
$custom-light: #e2758c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d5f",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 341.132,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.19526,
    "h": 8.1
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#CC2D5F
secondary
#85D0B8
accent
#E7B341
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CC2D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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