#C5342C#C5342C

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

Color values

HEX#C5342C
RGBrgb(197, 52, 44)
HSLhsl(3, 63%, 47%)
HSVhsv(3, 78%, 77%)
CMYKcmyk(0%, 73.6%, 77.7%, 22.7%)
CIE-LABlab(44.96, 56.37, 39.27)
CIE-LCHlch(44.96, 68.70, 34.87°)
OKLaboklab(54.72% 0.1616 0.0862)
OKLCHoklch(54.72% 0.183 28.1)
XYZxyz(24.7115, 14.5120, 3.8823)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5342C #2CBDC5
analogous
#C52C71 #C5342C #C5802C
triadic
#C5342C #2CC534 #342CC5
tetradic
#C5342C #71C52C #2CBDC5 #802CC5
square
#C5342C #71C52C #2CBDC5 #802CC5
split-complementary
#C5342C #2CC580 #2C71C5
monochromatic
#611A16 #932721 #C5342C #D95C55 #E48C87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5342C#FFFFFF#000000##FFFFFF
##C5342C1.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)
#60562A
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#D90034
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5342c;
/* rgb */ color: rgb(197, 52, 44);
/* oklch */ color: oklch(54.7% 0.183 28.1);
Tailwind
colors: {
  custom: {
    50: '#e07666',
    500: '#c5342c',
    950: '#000000',
  },
}
SCSS
$custom: #c5342c;
$custom-light: #e07666;
$custom-dark: #000000;
JSON
{
  "hex": "#c5342c",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 3.137,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.18318,
    "h": 28.1
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#C5342C
secondary
#7FCACE
accent
#DEE741
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C5342C

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

Preview Lab → · Contrast checker → · Palette generator →

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