#C5342E#C5342E

#C5342E is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.7% C 0.183 H 27.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C5342E
RGBrgb(197, 52, 46)
HSLhsl(2, 62%, 48%)
HSVhsv(2, 77%, 77%)
CMYKcmyk(0%, 73.6%, 76.6%, 22.7%)
CIE-LABlab(44.98, 56.44, 38.18)
CIE-LCHlch(44.98, 68.15, 34.08°)
OKLaboklab(54.74% 0.1623 0.0844)
OKLCHoklch(54.74% 0.183 27.5)
XYZxyz(24.7500, 14.5274, 4.0851)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5342E #2EBFC5
analogous
#C52E74 #C5342E #C57F2E
triadic
#C5342E #2EC534 #342EC5
tetradic
#C5342E #74C52E #2EBFC5 #7F2EC5
square
#C5342E #74C52E #2EBFC5 #7F2EC5
split-complementary
#C5342E #2EC57F #2E74C5
monochromatic
#621A17 #932722 #C5342E #D85D58 #E48D8A

Accessibility & contrast

On white

5.38
#C5342E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C5342E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5342E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5342E#FFFFFF#000000##FFFFFF
##C5342E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562C
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#D90034
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5342e;
/* rgb */ color: rgb(197, 52, 46);
/* oklch */ color: oklch(54.7% 0.183 27.5);
Tailwind
colors: {
  custom: {
    50: '#e07667',
    500: '#c5342e',
    950: '#000000',
  },
}
SCSS
$custom: #c5342e;
$custom-light: #e07667;
$custom-dark: #000000;
JSON
{
  "hex": "#c5342e",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 2.384,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.1829,
    "h": 27.5
  },
  "luminance": 0.14524
}

Semantic roles & 50–950 ramp

primary
#C5342E
secondary
#81CACE
accent
#DFE543
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C5342E

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

Preview Lab → · Contrast checker → · Palette generator →

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