#B5342B#B5342B

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

Color values

HEX#B5342B
RGBrgb(181, 52, 43)
HSLhsl(4, 62%, 44%)
HSVhsv(4, 76%, 71%)
CMYKcmyk(0%, 71.3%, 76.2%, 29%)
CIE-LABlab(41.93, 51.22, 35.70)
CIE-LCHlch(41.93, 62.44, 34.88°)
OKLaboklab(51.91% 0.1471 0.0793)
OKLCHoklch(51.91% 0.167 28.3)
XYZxyz(20.7225, 12.4573, 3.5984)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5342B #2BACB5
analogous
#B52B67 #B5342B #B5792B
triadic
#B5342B #2BB534 #342BB5
tetradic
#B5342B #67B52B #2BACB5 #792BB5
square
#B5342B #67B52B #2BACB5 #792BB5
split-complementary
#B5342B #2BB579 #2B67B5
monochromatic
#521814 #84261F #B5342B #D45249 #E0817B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5342B#FFFFFF#000000##FFFFFF
##B5342B1.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)
#5A5129
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#C70033
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5342b;
/* rgb */ color: rgb(181, 52, 43);
/* oklch */ color: oklch(51.9% 0.167 28.3);
Tailwind
colors: {
  custom: {
    50: '#d47465',
    500: '#b5342b',
    950: '#000000',
  },
}
SCSS
$custom: #b5342b;
$custom-light: #d47465;
$custom-dark: #000000;
JSON
{
  "hex": "#b5342b",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 3.913,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.16712,
    "h": 28.3
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#B5342B
secondary
#74C2C8
accent
#DAE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B5342B

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

Preview Lab → · Contrast checker → · Palette generator →

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