#CC2D4B#CC2D4B

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

Color values

HEX#CC2D4B
RGBrgb(204, 45, 75)
HSLhsl(349, 64%, 49%)
HSVhsv(349, 78%, 80%)
CMYKcmyk(0%, 77.9%, 63.2%, 20%)
CIE-LABlab(45.94, 62.15, 22.45)
CIE-LCHlch(45.94, 66.08, 19.86°)
OKLaboklab(55.83% 0.1857 0.0541)
OKLCHoklch(55.83% 0.193 16.2)
XYZxyz(27.1131, 15.2262, 8.1666)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D4B #2DCCAE
analogous
#CC2D9B #CC2D4B #CC5F2D
triadic
#CC2D4B #4BCC2D #2D4BCC
tetradic
#CC2D4B #9BCC2D #2DCCAE #5F2DCC
square
#CC2D4B #9BCC2D #2DCCAE #5F2DCC
split-complementary
#CC2D4B #2DCC5F #2D9BCC
monochromatic
#681726 #9A2239 #CC2D4B #DB5B73 #E68D9E

Accessibility & contrast

On white

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

On black

4.04
#CC2D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC2D4B#FFFFFF#000000##FFFFFF
##CC2D4B1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc2d4b;
/* rgb */ color: rgb(204, 45, 75);
/* oklch */ color: oklch(55.8% 0.193 16.2);
Tailwind
colors: {
  custom: {
    50: '#e3757d',
    500: '#cc2d4b',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d4b;
$custom-light: #e3757d;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d4b",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 348.679,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.19341,
    "h": 16.2
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#CC2D4B
secondary
#85D0C2
accent
#E7C841
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#170909
muted
#857B7B

Preview Lab

Preview with #CC2D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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