#CC2D4C#CC2D4C

#CC2D4C is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.9% C 0.193 H 15.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#CC2D4C
RGBrgb(204, 45, 76)
HSLhsl(348, 64%, 49%)
HSVhsv(348, 78%, 80%)
CMYKcmyk(0%, 77.9%, 62.7%, 20%)
CIE-LABlab(45.96, 62.21, 21.86)
CIE-LCHlch(45.96, 65.94, 19.37°)
OKLaboklab(55.85% 0.1861 0.0529)
OKLCHoklch(55.85% 0.193 15.9)
XYZxyz(27.1476, 15.2400, 8.3482)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D4C #2DCCAD
analogous
#CC2D9C #CC2D4C #CC5E2D
triadic
#CC2D4C #4CCC2D #2D4CCC
tetradic
#CC2D4C #9CCC2D #2DCCAD #5E2DCC
square
#CC2D4C #9CCC2D #2DCCAD #5E2DCC
split-complementary
#CC2D4C #2DCC5E #2D9CCC
monochromatic
#681727 #9A2239 #CC2D4C #DB5B74 #E68D9F

Accessibility & contrast

On white

5.19
#CC2D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#CC2D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D4C
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D4C#FFFFFF#000000##FFFFFF
##CC2D4C1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584C
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#E0003A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d4c;
/* rgb */ color: rgb(204, 45, 76);
/* oklch */ color: oklch(55.9% 0.193 15.9);
Tailwind
colors: {
  custom: {
    50: '#e3757d',
    500: '#cc2d4c',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d4c;
$custom-light: #e3757d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d4c",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 348.302,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.19343,
    "h": 15.9
  },
  "luminance": 0.15236
}

Semantic roles & 50–950 ramp

primary
#CC2D4C
secondary
#85D0C1
accent
#E7C741
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#170909
muted
#857B7B

Preview Lab

Preview with #CC2D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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