#8B402F#8B402F

#8B402F is a mid, moderate red. Relative luminance 0.094; OKLCH L 46.6% C 0.107 H 34.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8B402F
RGBrgb(139, 64, 47)
HSLhsl(11, 49%, 36%)
HSVhsv(11, 66%, 55%)
CMYKcmyk(0%, 54%, 66.2%, 45.5%)
CIE-LABlab(36.67, 30.54, 25.39)
CIE-LCHlch(36.67, 39.72, 39.74°)
OKLaboklab(46.56% 0.0882 0.0597)
OKLCHoklch(46.56% 0.107 34.1)
XYZxyz(12.9951, 9.3626, 3.8116)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B402F #2F7A8B
analogous
#8B2F4C #8B402F #8B6E2F
triadic
#8B402F #2F8B40 #402F8B
tetradic
#8B402F #4C8B2F #2F7A8B #6E2F8B
square
#8B402F #4C8B2F #2F7A8B #6E2F8B
split-complementary
#8B402F #2F8B6E #2F4C8B
monochromatic
#301610 #5D2B20 #8B402F #B9553E #CC7B68

Accessibility & contrast

On white

7.31
#8B402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8B402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B402F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B402F#FFFFFF#000000##FFFFFF
##8B402F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#665C2D
Tritanopia (blue-blind)
#98323C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b402f;
/* rgb */ color: rgb(139, 64, 47);
/* oklch */ color: oklch(46.6% 0.107 34.1);
Tailwind
colors: {
  custom: {
    50: '#b27768',
    500: '#8b402f',
    950: '#000000',
  },
}
SCSS
$custom: #8b402f;
$custom-light: #b27768;
$custom-dark: #000000;
JSON
{
  "hex": "#8b402f",
  "rgb": {
    "r": 139,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 11.087,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46564,
    "c": 0.10651,
    "h": 34.1
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#8B402F
secondary
#63A4B3
accent
#BFD94F
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8B402F

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

Preview Lab → · Contrast checker → · Palette generator →

#8B402F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva