#B8402B#B8402B

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

Color values

HEX#B8402B
RGBrgb(184, 64, 43)
HSLhsl(9, 62%, 45%)
HSVhsv(9, 77%, 72%)
CMYKcmyk(0%, 65.2%, 76.6%, 27.8%)
CIE-LABlab(44.28, 47.34, 38.39)
CIE-LCHlch(44.28, 60.94, 39.04°)
OKLaboklab(53.77% 0.1346 0.0849)
OKLCHoklch(53.77% 0.159 32.2)
XYZxyz(22.0390, 14.0347, 3.8335)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8402B #2BA3B8
analogous
#B82B5D #B8402B #B8872B
triadic
#B8402B #2BB840 #402BB8
tetradic
#B8402B #5DB82B #2BA3B8 #872BB8
square
#B8402B #5DB82B #2BA3B8 #872BB8
split-complementary
#B8402B #2BB887 #2B5DB8
monochromatic
#551D14 #862F1F #B8402B #D5604B #E18C7D

Accessibility & contrast

On white

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

On black

3.81
#B8402B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B8402B#FFFFFF#000000##FFFFFF
##B8402B1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8402b;
/* rgb */ color: rgb(184, 64, 43);
/* oklch */ color: oklch(53.8% 0.159 32.2);
Tailwind
colors: {
  custom: {
    50: '#d57b66',
    500: '#b8402b',
    950: '#000000',
  },
}
SCSS
$custom: #b8402b;
$custom-light: #d57b66;
$custom-dark: #000000;
JSON
{
  "hex": "#b8402b",
  "rgb": {
    "r": 184,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 8.936,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.15919,
    "h": 32.2
  },
  "luminance": 0.14032
}

Semantic roles & 50–950 ramp

primary
#B8402B
secondary
#76BDC9
accent
#CDE543
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #B8402B

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

Preview Lab → · Contrast checker → · Palette generator →

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