#CC3940#CC3940

#CC3940 is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.7% C 0.183 H 22.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC3940
RGBrgb(204, 57, 64)
HSLhsl(357, 59%, 51%)
HSVhsv(357, 72%, 80%)
CMYKcmyk(0%, 72.1%, 68.6%, 20%)
CIE-LABlab(47.15, 57.65, 30.61)
CIE-LCHlch(47.15, 65.27, 27.97°)
OKLaboklab(56.68% 0.169 0.0712)
OKLCHoklch(56.68% 0.183 22.8)
XYZxyz(27.2934, 16.1379, 6.5273)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3940 #39CCC5
analogous
#CC3989 #CC3940 #CC7B39
triadic
#CC3940 #40CC39 #3940CC
tetradic
#CC3940 #89CC39 #39CCC5 #7B39CC
square
#CC3940 #89CC39 #39CCC5 #7B39CC
split-complementary
#CC3940 #39CC7B #3989CC
monochromatic
#6E1C20 #9F292F #CC3940 #D96A6F #E59A9E

Accessibility & contrast

On white

4.97
#CC3940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CC3940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3940
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3940#FFFFFF#000000##FFFFFF
##CC39401.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C3F
Deuteranopia (green-blind)
#887B3B
Tritanopia (blue-blind)
#E0003D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3940;
/* rgb */ color: rgb(204, 57, 64);
/* oklch */ color: oklch(56.7% 0.183 22.8);
Tailwind
colors: {
  custom: {
    50: '#e47a75',
    500: '#cc3940',
    950: '#000000',
  },
}
SCSS
$custom: #cc3940;
$custom-light: #e47a75;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3940",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 64
  },
  "hsl": {
    "h": 357.143,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.18341,
    "h": 22.8
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#CC3940
secondary
#90D1CE
accent
#E2DB46
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CC3940

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

Preview Lab → · Contrast checker → · Palette generator →

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