#B5342A#B5342A

#B5342A is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.9% C 0.167 H 28.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B5342A
RGBrgb(181, 52, 42)
HSLhsl(4, 62%, 44%)
HSVhsv(4, 77%, 71%)
CMYKcmyk(0%, 71.3%, 76.8%, 29%)
CIE-LABlab(41.92, 51.18, 36.26)
CIE-LCHlch(41.92, 62.72, 35.32°)
OKLaboklab(51.9% 0.1468 0.0803)
OKLCHoklch(51.9% 0.167 28.7)
XYZxyz(20.7043, 12.4501, 3.5030)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5342A #2AABB5
analogous
#B52A65 #B5342A #B5792A
triadic
#B5342A #2AB534 #342AB5
tetradic
#B5342A #65B52A #2AABB5 #792AB5
square
#B5342A #65B52A #2AABB5 #792AB5
split-complementary
#B5342A #2AB579 #2A65B5
monochromatic
#521713 #83261E #B5342A #D45248 #E08179

Accessibility & contrast

On white

6.02
#B5342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B5342A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5342A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5342A#FFFFFF#000000##FFFFFF
##B5342A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5128
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#C70033
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5342a;
/* rgb */ color: rgb(181, 52, 42);
/* oklch */ color: oklch(51.9% 0.167 28.7);
Tailwind
colors: {
  custom: {
    50: '#d47464',
    500: '#b5342a',
    950: '#000000',
  },
}
SCSS
$custom: #b5342a;
$custom-light: #d47464;
$custom-dark: #000000;
JSON
{
  "hex": "#b5342a",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 4.317,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.16728,
    "h": 28.7
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#B5342A
secondary
#73C2C8
accent
#DAE542
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B5342A

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

Preview Lab → · Contrast checker → · Palette generator →

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