#CC3931#CC3931

#CC3931 is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.5% C 0.185 H 27.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC3931
RGBrgb(204, 57, 49)
HSLhsl(3, 61%, 50%)
HSVhsv(3, 76%, 80%)
CMYKcmyk(0%, 72.1%, 76%, 20%)
CIE-LABlab(46.96, 56.99, 39.03)
CIE-LCHlch(46.96, 69.07, 34.41°)
OKLaboklab(56.47% 0.1638 0.0865)
OKLCHoklch(56.47% 0.185 27.8)
XYZxyz(26.9225, 15.9895, 4.5738)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3931 #31C4CC
analogous
#CC3176 #CC3931 #CC8731
triadic
#CC3931 #31CC39 #3931CC
tetradic
#CC3931 #76CC31 #31C4CC #8731CC
square
#CC3931 #76CC31 #31C4CC #8731CC
split-complementary
#CC3931 #31CC87 #3176CC
monochromatic
#691D19 #9B2B25 #CC3931 #D96761 #E59792

Accessibility & contrast

On white

5.00
#CC3931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#CC3931 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3931
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3931#FFFFFF#000000##FFFFFF
##CC39311.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B2F
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#E10039
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc3931;
/* rgb */ color: rgb(204, 57, 49);
/* oklch */ color: oklch(56.5% 0.185 27.8);
Tailwind
colors: {
  custom: {
    50: '#e57a6a',
    500: '#cc3931',
    950: '#000000',
  },
}
SCSS
$custom: #cc3931;
$custom-light: #e57a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3931",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 49
  },
  "hsl": {
    "h": 3.097,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.18524,
    "h": 27.8
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#CC3931
secondary
#89CCD0
accent
#DCE443
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CC3931

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

Preview Lab → · Contrast checker → · Palette generator →

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