#B8402F#B8402F

#B8402F is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.8% C 0.158 H 30.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B8402F
RGBrgb(184, 64, 47)
HSLhsl(7, 59%, 45%)
HSVhsv(7, 74%, 72%)
CMYKcmyk(0%, 65.2%, 74.5%, 27.8%)
CIE-LABlab(44.33, 47.50, 36.23)
CIE-LCHlch(44.33, 59.74, 37.33°)
OKLaboklab(53.82% 0.1359 0.0812)
OKLCHoklch(53.82% 0.158 30.9)
XYZxyz(22.1161, 14.0656, 4.2391)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8402F #2FA7B8
analogous
#B82F63 #B8402F #B8842F
triadic
#B8402F #2FB840 #402FB8
tetradic
#B8402F #63B82F #2FA7B8 #842FB8
square
#B8402F #63B82F #2FA7B8 #842FB8
split-complementary
#B8402F #2FB884 #2F63B8
monochromatic
#571E16 #872F23 #B8402F #D36252 #DF8E82

Accessibility & contrast

On white

5.51
#B8402F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8402F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8402F#FFFFFF#000000##FFFFFF
##B8402F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62582C
Deuteranopia (green-blind)
#7F732B
Tritanopia (blue-blind)
#CA203D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8402f;
/* rgb */ color: rgb(184, 64, 47);
/* oklch */ color: oklch(53.8% 0.158 30.9);
Tailwind
colors: {
  custom: {
    50: '#d57b68',
    500: '#b8402f',
    950: '#000000',
  },
}
SCSS
$custom: #b8402f;
$custom-light: #d57b68;
$custom-dark: #000000;
JSON
{
  "hex": "#b8402f",
  "rgb": {
    "r": 184,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 7.445,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.15837,
    "h": 30.9
  },
  "luminance": 0.14062
}

Semantic roles & 50–950 ramp

primary
#B8402F
secondary
#7BBFC8
accent
#CFE245
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A

Preview Lab

Preview with #B8402F

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

Preview Lab → · Contrast checker → · Palette generator →

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