#8B402D#8B402D

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

Color values

HEX#8B402D
RGBrgb(139, 64, 45)
HSLhsl(12, 51%, 36%)
HSVhsv(12, 68%, 55%)
CMYKcmyk(0%, 54%, 67.6%, 45.5%)
CIE-LABlab(36.64, 30.41, 26.55)
CIE-LCHlch(36.64, 40.37, 41.12°)
OKLaboklab(46.53% 0.0874 0.062)
OKLCHoklch(46.53% 0.107 35.3)
XYZxyz(12.9557, 9.3468, 3.6040)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B402D #2D788B
analogous
#8B2D49 #8B402D #8B6F2D
triadic
#8B402D #2D8B40 #402D8B
tetradic
#8B402D #498B2D #2D788B #6F2D8B
square
#8B402D #498B2D #2D788B #6F2D8B
split-complementary
#8B402D #2D8B6F #2D498B
monochromatic
#2F150F #5D2B1E #8B402D #B9553C #CD7A65

Accessibility & contrast

On white

7.32
#8B402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B402D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B402D#FFFFFF#000000##FFFFFF
##8B402D1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b402d;
/* rgb */ color: rgb(139, 64, 45);
/* oklch */ color: oklch(46.5% 0.107 35.3);
Tailwind
colors: {
  custom: {
    50: '#b27766',
    500: '#8b402d',
    950: '#000000',
  },
}
SCSS
$custom: #8b402d;
$custom-light: #b27766;
$custom-dark: #000000;
JSON
{
  "hex": "#8b402d",
  "rgb": {
    "r": 139,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 12.128,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46532,
    "c": 0.10716,
    "h": 35.3
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#8B402D
secondary
#60A3B4
accent
#BEDB4D
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8B402D

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

Preview Lab → · Contrast checker → · Palette generator →

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