#CC3431#CC3431

#CC3431 is a mid, vivid red. Relative luminance 0.155; OKLCH L 56.0% C 0.189 H 26.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CC3431
RGBrgb(204, 52, 49)
HSLhsl(1, 61%, 50%)
HSVhsv(1, 76%, 80%)
CMYKcmyk(0%, 74.5%, 76%, 20%)
CIE-LABlab(46.34, 58.71, 38.35)
CIE-LCHlch(46.34, 70.13, 33.15°)
OKLaboklab(56% 0.1692 0.0851)
OKLCHoklch(56% 0.189 26.7)
XYZxyz(26.6873, 15.5193, 4.4954)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3431 #31C9CC
analogous
#CC317C #CC3431 #CC8131
triadic
#CC3431 #31CC34 #3431CC
tetradic
#CC3431 #7CCC31 #31C9CC #8131CC
square
#CC3431 #7CCC31 #31C9CC #8131CC
split-complementary
#CC3431 #31CC81 #317CCC
monochromatic
#691B19 #9B2725 #CC3431 #D96361 #E59492

Accessibility & contrast

On white

5.12
#CC3431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CC3431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3431
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3431#FFFFFF#000000##FFFFFF
##CC34311.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#E10035
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc3431;
/* rgb */ color: rgb(204, 52, 49);
/* oklch */ color: oklch(56.0% 0.189 26.7);
Tailwind
colors: {
  custom: {
    50: '#e5776a',
    500: '#cc3431',
    950: '#000000',
  },
}
SCSS
$custom: #cc3431;
$custom-light: #e5776a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3431",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 49
  },
  "hsl": {
    "h": 1.161,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.1894,
    "h": 26.7
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#CC3431
secondary
#89CED0
accent
#E1E443
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CC3431

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

Preview Lab → · Contrast checker → · Palette generator →

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