#CC3A31#CC3A31

#CC3A31 is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.6% C 0.184 H 28.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CC3A31
RGBrgb(204, 58, 49)
HSLhsl(3, 61%, 50%)
HSVhsv(3, 76%, 80%)
CMYKcmyk(0%, 71.6%, 76%, 20%)
CIE-LABlab(47.09, 56.63, 39.17)
CIE-LCHlch(47.09, 68.85, 34.67°)
OKLaboklab(56.57% 0.1627 0.0868)
OKLCHoklch(56.57% 0.184 28.1)
XYZxyz(26.9724, 16.0894, 4.5905)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3A31 #31C3CC
analogous
#CC3176 #CC3A31 #CC8831
triadic
#CC3A31 #31CC3A #3A31CC
tetradic
#CC3A31 #76CC31 #31C3CC #8831CC
square
#CC3A31 #76CC31 #31C3CC #8831CC
split-complementary
#CC3A31 #31CC88 #3176CC
monochromatic
#691E19 #9B2C25 #CC3A31 #D96861 #E59792

Accessibility & contrast

On white

4.98
#CC3A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#CC3A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3A31
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3A31#FFFFFF#000000##FFFFFF
##CC3A311.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2F
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#E10039
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3a31;
/* rgb */ color: rgb(204, 58, 49);
/* oklch */ color: oklch(56.6% 0.184 28.1);
Tailwind
colors: {
  custom: {
    50: '#e57a6a',
    500: '#cc3a31',
    950: '#000000',
  },
}
SCSS
$custom: #cc3a31;
$custom-light: #e57a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3a31",
  "rgb": {
    "r": 204,
    "g": 58,
    "b": 49
  },
  "hsl": {
    "h": 3.484,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.18438,
    "h": 28.1
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#CC3A31
secondary
#89CCD0
accent
#DBE443
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #CC3A31

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

Preview Lab → · Contrast checker → · Palette generator →

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