#C5342A#C5342A

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

Color values

HEX#C5342A
RGBrgb(197, 52, 42)
HSLhsl(4, 65%, 47%)
HSVhsv(4, 79%, 77%)
CMYKcmyk(0%, 73.6%, 78.7%, 22.7%)
CIE-LABlab(44.94, 56.30, 40.35)
CIE-LCHlch(44.94, 69.27, 35.63°)
OKLaboklab(54.7% 0.161 0.0879)
OKLCHoklch(54.7% 0.183 28.6)
XYZxyz(24.6748, 14.4973, 3.6891)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5342A #2ABBC5
analogous
#C52A6E #C5342A #C5822A
triadic
#C5342A #2AC534 #342AC5
tetradic
#C5342A #6EC52A #2ABBC5 #822AC5
square
#C5342A #6EC52A #2ABBC5 #822AC5
split-complementary
#C5342A #2AC582 #2A6EC5
monochromatic
#601914 #93271F #C5342A #DA5B52 #E58B85

Accessibility & contrast

On white

5.39
#C5342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5342A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5342A#FFFFFF#000000##FFFFFF
##C5342A1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605627
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#D90033
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5342a;
/* rgb */ color: rgb(197, 52, 42);
/* oklch */ color: oklch(54.7% 0.183 28.6);
Tailwind
colors: {
  custom: {
    50: '#e07665',
    500: '#c5342a',
    950: '#000000',
  },
}
SCSS
$custom: #c5342a;
$custom-light: #e07665;
$custom-dark: #000000;
JSON
{
  "hex": "#c5342a",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 3.871,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.18346,
    "h": 28.6
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#C5342A
secondary
#7DC9CE
accent
#DDE840
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C5342A

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

Preview Lab → · Contrast checker → · Palette generator →

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