#B8342A#B8342A

#B8342A is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.4% C 0.170 H 28.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B8342A
RGBrgb(184, 52, 42)
HSLhsl(4, 63%, 44%)
HSVhsv(4, 77%, 72%)
CMYKcmyk(0%, 71.7%, 77.2%, 27.8%)
CIE-LABlab(42.49, 52.16, 37.03)
CIE-LCHlch(42.49, 63.96, 35.37°)
OKLaboklab(52.42% 0.1495 0.0817)
OKLCHoklch(52.42% 0.17 28.7)
XYZxyz(21.4156, 12.8168, 3.5363)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8342A #2AAEB8
analogous
#B82A67 #B8342A #B87B2A
triadic
#B8342A #2AB834 #342AB8
tetradic
#B8342A #67B82A #2AAEB8 #7B2AB8
square
#B8342A #67B82A #2AAEB8 #7B2AB8
split-complementary
#B8342A #2AB87B #2A67B8
monochromatic
#541813 #86261F #B8342A #D6534A #E1837B

Accessibility & contrast

On white

5.89
#B8342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B8342A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8342A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8342A#FFFFFF#000000##FFFFFF
##B8342A1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#CB0033
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8342a;
/* rgb */ color: rgb(184, 52, 42);
/* oklch */ color: oklch(52.4% 0.170 28.7);
Tailwind
colors: {
  custom: {
    50: '#d67464',
    500: '#b8342a',
    950: '#000000',
  },
}
SCSS
$custom: #b8342a;
$custom-light: #d67464;
$custom-dark: #000000;
JSON
{
  "hex": "#b8342a",
  "rgb": {
    "r": 184,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 4.225,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.17037,
    "h": 28.7
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#B8342A
secondary
#75C3C9
accent
#DAE642
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B8342A

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

Preview Lab → · Contrast checker → · Palette generator →

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