#8D402F#8D402F

#8D402F is a mid, moderate red. Relative luminance 0.095; OKLCH L 46.9% C 0.109 H 33.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8D402F
RGBrgb(141, 64, 47)
HSLhsl(11, 50%, 37%)
HSVhsv(11, 67%, 55%)
CMYKcmyk(0%, 54.6%, 66.7%, 44.7%)
CIE-LABlab(37.00, 31.36, 25.86)
CIE-LCHlch(37.00, 40.64, 39.51°)
OKLaboklab(46.88% 0.0905 0.0607)
OKLCHoklch(46.88% 0.109 33.8)
XYZxyz(13.3322, 9.5364, 3.8274)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D402F #2F7C8D
analogous
#8D2F4D #8D402F #8D6F2F
triadic
#8D402F #2F8D40 #402F8D
tetradic
#8D402F #4D8D2F #2F7C8D #6F2F8D
square
#8D402F #4D8D2F #2F7C8D #6F2F8D
split-complementary
#8D402F #2F8D6F #2F4D8D
monochromatic
#311610 #5F2B20 #8D402F #BB553E #CD7B69

Accessibility & contrast

On white

7.22
#8D402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D402F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D402F#FFFFFF#000000##FFFFFF
##8D402F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544D2D
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#9A313C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d402f;
/* rgb */ color: rgb(141, 64, 47);
/* oklch */ color: oklch(46.9% 0.109 33.8);
Tailwind
colors: {
  custom: {
    50: '#b47768',
    500: '#8d402f',
    950: '#000000',
  },
}
SCSS
$custom: #8d402f;
$custom-light: #b47768;
$custom-dark: #000000;
JSON
{
  "hex": "#8d402f",
  "rgb": {
    "r": 141,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 10.851,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46875,
    "c": 0.10896,
    "h": 33.8
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#8D402F
secondary
#64A6B4
accent
#C0DA4E
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8D402F

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

Preview Lab → · Contrast checker → · Palette generator →

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