#8E402B#8E402B

#8E402B is a mid, moderate red. Relative luminance 0.096; OKLCH L 47.0% C 0.111 H 36.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8E402B
RGBrgb(142, 64, 43)
HSLhsl(13, 54%, 36%)
HSVhsv(13, 70%, 56%)
CMYKcmyk(0%, 54.9%, 69.7%, 44.3%)
CIE-LABlab(37.10, 31.51, 28.39)
CIE-LCHlch(37.10, 42.41, 42.03°)
OKLaboklab(46.97% 0.0901 0.0656)
OKLCHoklch(46.97% 0.111 36.1)
XYZxyz(13.4260, 9.5937, 3.4298)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E402B #2B798E
analogous
#8E2B48 #8E402B #8E722B
triadic
#8E402B #2B8E40 #402B8E
tetradic
#8E402B #488E2B #2B798E #722B8E
square
#8E402B #488E2B #2B798E #722B8E
split-complementary
#8E402B #2B8E72 #2B488E
monochromatic
#30160F #5F2B1D #8E402B #BD5539 #D07A63

Accessibility & contrast

On white

7.20
#8E402B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8E402B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E402B
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E402B#FFFFFF#000000##FFFFFF
##8E402B1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D29
Deuteranopia (green-blind)
#685E29
Tritanopia (blue-blind)
#9C303B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e402b;
/* rgb */ color: rgb(142, 64, 43);
/* oklch */ color: oklch(47.0% 0.111 36.1);
Tailwind
colors: {
  custom: {
    50: '#b57765',
    500: '#8e402b',
    950: '#000000',
  },
}
SCSS
$custom: #8e402b;
$custom-light: #b57765;
$custom-dark: #000000;
JSON
{
  "hex": "#8e402b",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 12.727,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46969,
    "c": 0.11145,
    "h": 36.1
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#8E402B
secondary
#5FA4B6
accent
#BEDD4B
background
#FBF7F6
surface
#F7EDEB
border
#D0C8C6
text
#120905
muted
#817B7A

Preview Lab

Preview with #8E402B

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

Preview Lab → · Contrast checker → · Palette generator →

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