#C5342F#C5342F

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

Color values

HEX#C5342F
RGBrgb(197, 52, 47)
HSLhsl(2, 61%, 48%)
HSVhsv(2, 76%, 77%)
CMYKcmyk(0%, 73.6%, 76.1%, 22.7%)
CIE-LABlab(44.99, 56.48, 37.63)
CIE-LCHlch(44.99, 67.87, 33.68°)
OKLaboklab(54.75% 0.1626 0.0835)
OKLCHoklch(54.75% 0.183 27.2)
XYZxyz(24.7699, 14.5354, 4.1901)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5342F #2FC0C5
analogous
#C52F75 #C5342F #C57F2F
triadic
#C5342F #2FC534 #342FC5
tetradic
#C5342F #75C52F #2FC0C5 #7F2FC5
square
#C5342F #75C52F #2FC0C5 #7F2FC5
split-complementary
#C5342F #2FC57F #2F75C5
monochromatic
#621A17 #942723 #C5342F #D85E5A #E38E8B

Accessibility & contrast

On white

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

On black

3.91
#C5342F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5342F#FFFFFF#000000##FFFFFF
##C5342F1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562D
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#D90035
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5342f;
/* rgb */ color: rgb(197, 52, 47);
/* oklch */ color: oklch(54.8% 0.183 27.2);
Tailwind
colors: {
  custom: {
    50: '#e07668',
    500: '#c5342f',
    950: '#000000',
  },
}
SCSS
$custom: #c5342f;
$custom-light: #e07668;
$custom-dark: #000000;
JSON
{
  "hex": "#c5342f",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.18276,
    "h": 27.2
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#C5342F
secondary
#82CBCD
accent
#DFE543
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C5342F

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

Preview Lab → · Contrast checker → · Palette generator →

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