#CC2D42#CC2D42

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

Color values

HEX#CC2D42
RGBrgb(204, 45, 66)
HSLhsl(352, 64%, 49%)
HSVhsv(352, 78%, 80%)
CMYKcmyk(0%, 77.9%, 67.6%, 20%)
CIE-LABlab(45.79, 61.66, 27.74)
CIE-LCHlch(45.79, 67.61, 24.22°)
OKLaboklab(55.67% 0.1822 0.0651)
OKLCHoklch(55.67% 0.194 19.6)
XYZxyz(26.8266, 15.1116, 6.6575)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D42 #2DCCB7
analogous
#CC2D92 #CC2D42 #CC672D
triadic
#CC2D42 #42CC2D #2D42CC
tetradic
#CC2D42 #92CC2D #2DCCB7 #672DCC
square
#CC2D42 #92CC2D #2DCCB7 #672DCC
split-complementary
#CC2D42 #2DCC67 #2D92CC
monochromatic
#681722 #9A2232 #CC2D42 #DB5B6C #E68D99

Accessibility & contrast

On white

5.22
#CC2D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#CC2D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2D42
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2D42#FFFFFF#000000##FFFFFF
##CC2D421.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5742
Deuteranopia (green-blind)
#84783D
Tritanopia (blue-blind)
#E00037
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #cc2d42;
/* rgb */ color: rgb(204, 45, 66);
/* oklch */ color: oklch(55.7% 0.194 19.6);
Tailwind
colors: {
  custom: {
    50: '#e47576',
    500: '#cc2d42',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d42;
$custom-light: #e47576;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d42",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 66
  },
  "hsl": {
    "h": 352.075,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55668,
    "c": 0.19351,
    "h": 19.6
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#CC2D42
secondary
#85D0C6
accent
#E7D141
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170908
muted
#857B7B

Preview Lab

Preview with #CC2D42

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

Preview Lab → · Contrast checker → · Palette generator →

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