#C5342B#C5342B

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

Color values

HEX#C5342B
RGBrgb(197, 52, 43)
HSLhsl(4, 64%, 47%)
HSVhsv(4, 78%, 77%)
CMYKcmyk(0%, 73.6%, 78.2%, 22.7%)
CIE-LABlab(44.95, 56.33, 39.81)
CIE-LCHlch(44.95, 68.98, 35.25°)
OKLaboklab(54.71% 0.1613 0.0871)
OKLCHoklch(54.71% 0.183 28.4)
XYZxyz(24.6929, 14.5046, 3.7845)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5342B #2BBCC5
analogous
#C52B6F #C5342B #C5812B
triadic
#C5342B #2BC534 #342BC5
tetradic
#C5342B #6FC52B #2BBCC5 #812BC5
square
#C5342B #6FC52B #2BBCC5 #812BC5
split-complementary
#C5342B #2BC581 #2B6FC5
monochromatic
#611915 #932720 #C5342B #DA5B54 #E58B86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5342B#FFFFFF#000000##FFFFFF
##C5342B1.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)
#605628
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#D90034
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5342b;
/* rgb */ color: rgb(197, 52, 43);
/* oklch */ color: oklch(54.7% 0.183 28.4);
Tailwind
colors: {
  custom: {
    50: '#e07665',
    500: '#c5342b',
    950: '#000000',
  },
}
SCSS
$custom: #c5342b;
$custom-light: #e07665;
$custom-dark: #000000;
JSON
{
  "hex": "#c5342b",
  "rgb": {
    "r": 197,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 3.506,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54708,
    "c": 0.18332,
    "h": 28.4
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

primary
#C5342B
secondary
#7EC9CE
accent
#DDE741
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C5342B

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

Preview Lab → · Contrast checker → · Palette generator →

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