#CC342C#CC342C

#CC342C is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.9% C 0.190 H 28.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CC342C
RGBrgb(204, 52, 44)
HSLhsl(3, 65%, 49%)
HSVhsv(3, 78%, 80%)
CMYKcmyk(0%, 74.5%, 78.4%, 20%)
CIE-LABlab(46.28, 58.54, 41.07)
CIE-LCHlch(46.28, 71.50, 35.05°)
OKLaboklab(55.95% 0.1677 0.0895)
OKLCHoklch(55.95% 0.19 28.1)
XYZxyz(26.5876, 15.4794, 3.9703)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC342C #2CC4CC
analogous
#CC2C74 #CC342C #CC842C
triadic
#CC342C #2CCC34 #342CCC
tetradic
#CC342C #74CC2C #2CC4CC #842CCC
square
#CC342C #74CC2C #2CC4CC #842CCC
split-complementary
#CC342C #2CCC84 #2C74CC
monochromatic
#671A16 #9A2721 #CC342C #DB605A #E6918C

Accessibility & contrast

On white

5.13
#CC342C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC342C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC342C#FFFFFF#000000##FFFFFF
##CC342C1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625829
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#E10034
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cc342c;
/* rgb */ color: rgb(204, 52, 44);
/* oklch */ color: oklch(55.9% 0.190 28.1);
Tailwind
colors: {
  custom: {
    50: '#e57766',
    500: '#cc342c',
    950: '#000000',
  },
}
SCSS
$custom: #cc342c;
$custom-light: #e57766;
$custom-dark: #000000;
JSON
{
  "hex": "#cc342c",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 3,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55946,
    "c": 0.19006,
    "h": 28.1
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#CC342C
secondary
#83CCD0
accent
#DFE840
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #CC342C

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

Preview Lab → · Contrast checker → · Palette generator →

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