#C5342D#C5342D

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

Color values

HEX#C5342D
RGBrgb(197, 52, 45)
HSLhsl(3, 63%, 47%)
HSVhsv(3, 77%, 77%)
CMYKcmyk(0%, 73.6%, 77.2%, 22.7%)
CIE-LABlab(44.97, 56.41, 38.73)
CIE-LCHlch(44.97, 68.42, 34.47°)
OKLaboklab(54.73% 0.162 0.0853)
OKLCHoklch(54.73% 0.183 27.8)
XYZxyz(24.7305, 14.5196, 3.9825)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5342D #2DBEC5
analogous
#C52D72 #C5342D #C5802D
triadic
#C5342D #2DC534 #342DC5
tetradic
#C5342D #72C52D #2DBEC5 #802DC5
square
#C5342D #72C52D #2DBEC5 #802DC5
split-complementary
#C5342D #2DC580 #2D72C5
monochromatic
#611A16 #932722 #C5342D #D95D57 #E48D88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5342D#FFFFFF#000000##FFFFFF
##C5342D1.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)
#60562B
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#D90034
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5342d;
/* rgb */ color: rgb(197, 52, 45);
/* oklch */ color: oklch(54.7% 0.183 27.8);
Tailwind
colors: {
  custom: {
    50: '#e07667',
    500: '#c5342d',
    950: '#000000',
  },
}
SCSS
$custom: #c5342d;
$custom-light: #e07667;
$custom-dark: #000000;
JSON
{
  "hex": "#c5342d",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 2.763,
    "s": 62.81,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.18304,
    "h": 27.8
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#C5342D
secondary
#80CACE
accent
#DEE642
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C5342D

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

Preview Lab → · Contrast checker → · Palette generator →

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