#CC3942#CC3942

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

Color values

HEX#CC3942
RGBrgb(204, 57, 66)
HSLhsl(356, 59%, 51%)
HSVhsv(356, 72%, 80%)
CMYKcmyk(0%, 72.1%, 67.6%, 20%)
CIE-LABlab(47.19, 57.75, 29.46)
CIE-LCHlch(47.19, 64.84, 27.03°)
OKLaboklab(56.71% 0.1698 0.0689)
OKLCHoklch(56.71% 0.183 22.1)
XYZxyz(27.3513, 16.1610, 6.8324)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3942 #39CCC3
analogous
#CC398B #CC3942 #CC7939
triadic
#CC3942 #42CC39 #3942CC
tetradic
#CC3942 #8BCC39 #39CCC3 #7939CC
square
#CC3942 #8BCC39 #39CCC3 #7939CC
split-complementary
#CC3942 #39CC79 #398BCC
monochromatic
#6E1C21 #9F2930 #CC3942 #D96A70 #E59A9F

Accessibility & contrast

On white

4.96
#CC3942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3942
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3942#FFFFFF#000000##FFFFFF
##CC39421.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635C41
Deuteranopia (green-blind)
#887B3D
Tritanopia (blue-blind)
#E0003E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3942;
/* rgb */ color: rgb(204, 57, 66);
/* oklch */ color: oklch(56.7% 0.183 22.1);
Tailwind
colors: {
  custom: {
    50: '#e47a76',
    500: '#cc3942',
    950: '#000000',
  },
}
SCSS
$custom: #cc3942;
$custom-light: #e47a76;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3942",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 66
  },
  "hsl": {
    "h": 356.327,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56707,
    "c": 0.18324,
    "h": 22.1
  },
  "luminance": 0.16157
}

Semantic roles & 50–950 ramp

primary
#CC3942
secondary
#90D1CD
accent
#E2D946
background
#FFF7F7
surface
#FEEEED
border
#D6C9C8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #CC3942

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

Preview Lab → · Contrast checker → · Palette generator →

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