#CC2D46#CC2D46

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

Color values

HEX#CC2D46
RGBrgb(204, 45, 70)
HSLhsl(351, 64%, 49%)
HSVhsv(351, 78%, 80%)
CMYKcmyk(0%, 77.9%, 65.7%, 20%)
CIE-LABlab(45.85, 61.87, 25.39)
CIE-LCHlch(45.85, 66.88, 22.32°)
OKLaboklab(55.74% 0.1838 0.0603)
OKLCHoklch(55.74% 0.193 18.2)
XYZxyz(26.9487, 15.1605, 7.3004)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2D46 #2DCCB3
analogous
#CC2D96 #CC2D46 #CC642D
triadic
#CC2D46 #46CC2D #2D46CC
tetradic
#CC2D46 #96CC2D #2DCCB3 #642DCC
square
#CC2D46 #96CC2D #2DCCB3 #642DCC
split-complementary
#CC2D46 #2DCC64 #2D96CC
monochromatic
#681724 #9A2235 #CC2D46 #DB5B6F #E68D9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC2D46#FFFFFF#000000##FFFFFF
##CC2D461.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)
#5C5746
Deuteranopia (green-blind)
#847941
Tritanopia (blue-blind)
#E00038
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc2d46;
/* rgb */ color: rgb(204, 45, 70);
/* oklch */ color: oklch(55.7% 0.193 18.2);
Tailwind
colors: {
  custom: {
    50: '#e47579',
    500: '#cc2d46',
    950: '#000000',
  },
}
SCSS
$custom: #cc2d46;
$custom-light: #e47579;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2d46",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 70
  },
  "hsl": {
    "h": 350.566,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55739,
    "c": 0.1934,
    "h": 18.2
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2D46

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

Preview Lab → · Contrast checker → · Palette generator →

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