#B5342F#B5342F

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

Color values

HEX#B5342F
RGBrgb(181, 52, 47)
HSLhsl(2, 59%, 45%)
HSVhsv(2, 74%, 71%)
CMYKcmyk(0%, 71.3%, 74%, 29%)
CIE-LABlab(41.98, 51.39, 33.46)
CIE-LCHlch(41.98, 61.32, 33.07°)
OKLaboklab(51.96% 0.1485 0.0754)
OKLCHoklch(51.96% 0.167 26.9)
XYZxyz(20.7995, 12.4881, 4.0040)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5342F #2FB0B5
analogous
#B52F6D #B5342F #B5772F
triadic
#B5342F #2FB534 #342FB5
tetradic
#B5342F #6DB52F #2FB0B5 #772FB5
square
#B5342F #6DB52F #2FB0B5 #772FB5
split-complementary
#B5342F #2FB577 #2F6DB5
monochromatic
#541816 #842622 #B5342F #D15550 #DE8480

Accessibility & contrast

On white

6.01
#B5342F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#B5342F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5342F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5342F#FFFFFF#000000##FFFFFF
##B5342F1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512D
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#C70034
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5342f;
/* rgb */ color: rgb(181, 52, 47);
/* oklch */ color: oklch(52.0% 0.167 26.9);
Tailwind
colors: {
  custom: {
    50: '#d37468',
    500: '#b5342f',
    950: '#000000',
  },
}
SCSS
$custom: #b5342f;
$custom-light: #d37468;
$custom-dark: #000000;
JSON
{
  "hex": "#b5342f",
  "rgb": {
    "r": 181,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 2.239,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.16652,
    "h": 26.9
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#B5342F
secondary
#79C4C7
accent
#DCE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B5342F

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

Preview Lab → · Contrast checker → · Palette generator →

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