#B8402A#B8402A

#B8402A is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.8% C 0.159 H 32.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B8402A
RGBrgb(184, 64, 42)
HSLhsl(9, 63%, 44%)
HSVhsv(9, 77%, 72%)
CMYKcmyk(0%, 65.2%, 77.2%, 27.8%)
CIE-LABlab(44.27, 47.30, 38.92)
CIE-LCHlch(44.27, 61.25, 39.45°)
OKLaboklab(53.76% 0.1343 0.0858)
OKLCHoklch(53.76% 0.159 32.6)
XYZxyz(22.0209, 14.0275, 3.7381)
Luminance0.1402 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8402A #2AA2B8
analogous
#B82A5B #B8402A #B8872A
triadic
#B8402A #2AB840 #402AB8
tetradic
#B8402A #5BB82A #2AA2B8 #872AB8
square
#B8402A #5BB82A #2AA2B8 #872AB8
split-complementary
#B8402A #2AB887 #2A5BB8
monochromatic
#541D13 #862F1F #B8402A #D65F4A #E18B7B

Accessibility & contrast

On white

5.52
#B8402A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B8402A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8402A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8402A#FFFFFF#000000##FFFFFF
##B8402A1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625827
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#CA1F3C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8402a;
/* rgb */ color: rgb(184, 64, 42);
/* oklch */ color: oklch(53.8% 0.159 32.6);
Tailwind
colors: {
  custom: {
    50: '#d57b65',
    500: '#b8402a',
    950: '#000000',
  },
}
SCSS
$custom: #b8402a;
$custom-light: #d57b65;
$custom-dark: #000000;
JSON
{
  "hex": "#b8402a",
  "rgb": {
    "r": 184,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 9.296,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.15939,
    "h": 32.6
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#B8402A
secondary
#75BCC9
accent
#CCE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #B8402A

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

Preview Lab → · Contrast checker → · Palette generator →

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