#CC2D4D#CC2D4D

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

Color values

HEX#CC2D4D
RGBrgb(204, 45, 77)
HSLhsl(348, 64%, 49%)
HSVhsv(348, 78%, 80%)
CMYKcmyk(0%, 77.9%, 62.3%, 20%)
CIE-LABlab(45.98, 62.27, 21.28)
CIE-LCHlch(45.98, 65.80, 18.86°)
OKLaboklab(55.87% 0.1865 0.0516)
OKLCHoklch(55.87% 0.193 15.5)
XYZxyz(27.1827, 15.2541, 8.5328)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D4D #2DCCAC
analogous
#CC2D9D #CC2D4D #CC5D2D
triadic
#CC2D4D #4DCC2D #2D4DCC
tetradic
#CC2D4D #9DCC2D #2DCCAC #5D2DCC
square
#CC2D4D #9DCC2D #2DCCAC #5D2DCC
split-complementary
#CC2D4D #2DCC5D #2D9DCC
monochromatic
#681727 #9A223A #CC2D4D #DB5B75 #E68D9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2D4D#FFFFFF#000000##FFFFFF
##CC2D4D1.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)
#5B584D
Deuteranopia (green-blind)
#837949
Tritanopia (blue-blind)
#E0003B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d4d;
/* rgb */ color: rgb(204, 45, 77);
/* oklch */ color: oklch(55.9% 0.193 15.5);
Tailwind
colors: {
  custom: {
    50: '#e3757e',
    500: '#cc2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d4d;
$custom-light: #e3757e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d4d",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 347.925,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.19345,
    "h": 15.5
  },
  "luminance": 0.1525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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