#CC342B#CC342B

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

Color values

HEX#CC342B
RGBrgb(204, 52, 43)
HSLhsl(3, 65%, 48%)
HSVhsv(3, 79%, 80%)
CMYKcmyk(0%, 74.5%, 78.9%, 20%)
CIE-LABlab(46.27, 58.50, 41.60)
CIE-LCHlch(46.27, 71.78, 35.41°)
OKLaboklab(55.94% 0.1674 0.0904)
OKLCHoklch(55.94% 0.19 28.4)
XYZxyz(26.5690, 15.4719, 3.8724)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC342B #2BC3CC
analogous
#CC2B72 #CC342B #CC842B
triadic
#CC342B #2BCC34 #342BCC
tetradic
#CC342B #72CC2B #2BC3CC #842BCC
square
#CC342B #72CC2B #2BC3CC #842BCC
split-complementary
#CC342B #2BCC84 #2B72CC
monochromatic
#671A16 #992720 #CC342B #DC6058 #E7908B

Accessibility & contrast

On white

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

On black

4.09
#CC342B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC342B#FFFFFF#000000##FFFFFF
##CC342B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc342b;
/* rgb */ color: rgb(204, 52, 43);
/* oklch */ color: oklch(55.9% 0.190 28.4);
Tailwind
colors: {
  custom: {
    50: '#e57766',
    500: '#cc342b',
    950: '#000000',
  },
}
SCSS
$custom: #cc342b;
$custom-light: #e57766;
$custom-dark: #000000;
JSON
{
  "hex": "#cc342b",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 3.354,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55936,
    "c": 0.1902,
    "h": 28.4
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC342B

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

Preview Lab → · Contrast checker → · Palette generator →

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