#B8342F#B8342F

#B8342F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.5% C 0.170 H 27.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B8342F
RGBrgb(184, 52, 47)
HSLhsl(2, 59%, 45%)
HSVhsv(2, 74%, 72%)
CMYKcmyk(0%, 71.7%, 74.5%, 27.8%)
CIE-LABlab(42.54, 52.36, 34.24)
CIE-LCHlch(42.54, 62.56, 33.19°)
OKLaboklab(52.48% 0.1512 0.0769)
OKLCHoklch(52.48% 0.17 27)
XYZxyz(21.5107, 12.8548, 4.0374)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8342F #2FB3B8
analogous
#B82F6E #B8342F #B8792F
triadic
#B8342F #2FB834 #342FB8
tetradic
#B8342F #6EB82F #2FB3B8 #792FB8
square
#B8342F #6EB82F #2FB3B8 #792FB8
split-complementary
#B8342F #2FB879 #2F6EB8
monochromatic
#571816 #872623 #B8342F #D35652 #DF8682

Accessibility & contrast

On white

5.88
#B8342F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#B8342F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8342F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8342F#FFFFFF#000000##FFFFFF
##B8342F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522D
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#CB0034
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8342f;
/* rgb */ color: rgb(184, 52, 47);
/* oklch */ color: oklch(52.5% 0.170 27.0);
Tailwind
colors: {
  custom: {
    50: '#d67568',
    500: '#b8342f',
    950: '#000000',
  },
}
SCSS
$custom: #b8342f;
$custom-light: #d67568;
$custom-dark: #000000;
JSON
{
  "hex": "#b8342f",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 2.19,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52484,
    "c": 0.16962,
    "h": 27
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#B8342F
secondary
#7BC5C8
accent
#DDE245
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B8342F

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

Preview Lab → · Contrast checker → · Palette generator →

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