#CC2D45#CC2D45

#CC2D45 is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.7% C 0.193 H 18.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CC2D45
RGBrgb(204, 45, 69)
HSLhsl(351, 64%, 49%)
HSVhsv(351, 78%, 80%)
CMYKcmyk(0%, 77.9%, 66.2%, 20%)
CIE-LABlab(45.84, 61.81, 25.98)
CIE-LCHlch(45.84, 67.05, 22.80°)
OKLaboklab(55.72% 0.1834 0.0615)
OKLCHoklch(55.72% 0.193 18.5)
XYZxyz(26.9174, 15.1479, 7.1356)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D45 #2DCCB4
analogous
#CC2D95 #CC2D45 #CC652D
triadic
#CC2D45 #45CC2D #2D45CC
tetradic
#CC2D45 #95CC2D #2DCCB4 #652DCC
square
#CC2D45 #95CC2D #2DCCB4 #652DCC
split-complementary
#CC2D45 #2DCC65 #2D95CC
monochromatic
#681723 #9A2234 #CC2D45 #DB5B6F #E68D9B

Accessibility & contrast

On white

5.21
#CC2D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#CC2D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D45
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D45#FFFFFF#000000##FFFFFF
##CC2D451.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5745
Deuteranopia (green-blind)
#847940
Tritanopia (blue-blind)
#E00038
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #cc2d45;
/* rgb */ color: rgb(204, 45, 69);
/* oklch */ color: oklch(55.7% 0.193 18.5);
Tailwind
colors: {
  custom: {
    50: '#e47578',
    500: '#cc2d45',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d45;
$custom-light: #e47578;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d45",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 350.943,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55721,
    "c": 0.19342,
    "h": 18.5
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#CC2D45
secondary
#85D0C5
accent
#E7CE41
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170909
muted
#857B7B

Preview Lab

Preview with #CC2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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