#CC2D47#CC2D47

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

Color values

HEX#CC2D47
RGBrgb(204, 45, 71)
HSLhsl(350, 64%, 49%)
HSVhsv(350, 78%, 80%)
CMYKcmyk(0%, 77.9%, 65.2%, 20%)
CIE-LABlab(45.87, 61.92, 24.81)
CIE-LCHlch(45.87, 66.71, 21.83°)
OKLaboklab(55.76% 0.1841 0.0591)
OKLCHoklch(55.76% 0.193 17.8)
XYZxyz(26.9805, 15.1732, 7.4681)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D47 #2DCCB2
analogous
#CC2D97 #CC2D47 #CC632D
triadic
#CC2D47 #47CC2D #2D47CC
tetradic
#CC2D47 #97CC2D #2DCCB2 #632DCC
square
#CC2D47 #97CC2D #2DCCB2 #632DCC
split-complementary
#CC2D47 #2DCC63 #2D97CC
monochromatic
#681724 #9A2236 #CC2D47 #DB5B70 #E68D9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2D47#FFFFFF#000000##FFFFFF
##CC2D471.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)
#5C5747
Deuteranopia (green-blind)
#847942
Tritanopia (blue-blind)
#E00038
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d47;
/* rgb */ color: rgb(204, 45, 71);
/* oklch */ color: oklch(55.8% 0.193 17.8);
Tailwind
colors: {
  custom: {
    50: '#e4757a',
    500: '#cc2d47',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d47;
$custom-light: #e4757a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d47",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 71
  },
  "hsl": {
    "h": 350.189,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.19339,
    "h": 17.8
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#CC2D47
secondary
#85D0C4
accent
#E7CC41
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170909
muted
#857B7B

Preview Lab

Preview with #CC2D47

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

Preview Lab → · Contrast checker → · Palette generator →

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