#8B402A#8B402A

#8B402A is a mid, moderate red. Relative luminance 0.093; OKLCH L 46.5% C 0.108 H 37.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8B402A
RGBrgb(139, 64, 42)
HSLhsl(14, 54%, 35%)
HSVhsv(14, 70%, 55%)
CMYKcmyk(0%, 54%, 69.8%, 45.5%)
CIE-LABlab(36.60, 30.22, 28.27)
CIE-LCHlch(36.60, 41.38, 43.09°)
OKLaboklab(46.49% 0.0863 0.0653)
OKLCHoklch(46.49% 0.108 37.1)
XYZxyz(12.9000, 9.3245, 3.3105)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B402A #2A758B
analogous
#8B2A45 #8B402A #8B702A
triadic
#8B402A #2A8B40 #402A8B
tetradic
#8B402A #458B2A #2A758B #702A8B
square
#8B402A #458B2A #2A758B #702A8B
split-complementary
#8B402A #2A8B70 #2A458B
monochromatic
#2D150E #5C2A1C #8B402A #BA5638 #CF7960

Accessibility & contrast

On white

7.33
#8B402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B402A
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B402A#FFFFFF#000000##FFFFFF
##8B402A1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C28
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#98313B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b402a;
/* rgb */ color: rgb(139, 64, 42);
/* oklch */ color: oklch(46.5% 0.108 37.1);
Tailwind
colors: {
  custom: {
    50: '#b27764',
    500: '#8b402a',
    950: '#000000',
  },
}
SCSS
$custom: #8b402a;
$custom-light: #b27764;
$custom-dark: #000000;
JSON
{
  "hex": "#8b402a",
  "rgb": {
    "r": 139,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 13.608,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.10818,
    "h": 37.1
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#8B402A
secondary
#5CA1B5
accent
#BCDD4B
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120905
muted
#817B7A

Preview Lab

Preview with #8B402A

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

Preview Lab → · Contrast checker → · Palette generator →

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