#8E402A#8E402A

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

Color values

HEX#8E402A
RGBrgb(142, 64, 42)
HSLhsl(13, 54%, 36%)
HSVhsv(13, 70%, 56%)
CMYKcmyk(0%, 54.9%, 70.4%, 44.3%)
CIE-LABlab(37.09, 31.45, 28.96)
CIE-LCHlch(37.09, 42.75, 42.64°)
OKLaboklab(46.95% 0.0897 0.0667)
OKLCHoklch(46.95% 0.112 36.6)
XYZxyz(13.4079, 9.5864, 3.3343)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E402A #2A788E
analogous
#8E2A46 #8E402A #8E722A
triadic
#8E402A #2A8E40 #402A8E
tetradic
#8E402A #468E2A #2A788E #722A8E
square
#8E402A #468E2A #2A788E #722A8E
split-complementary
#8E402A #2A8E72 #2A468E
monochromatic
#30150E #5F2B1C #8E402A #BD5538 #D17A62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E402A#FFFFFF#000000##FFFFFF
##8E402A1.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)
#554D28
Deuteranopia (green-blind)
#685E28
Tritanopia (blue-blind)
#9C303B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e402a;
/* rgb */ color: rgb(142, 64, 42);
/* oklch */ color: oklch(47.0% 0.112 36.6);
Tailwind
colors: {
  custom: {
    50: '#b57764',
    500: '#8e402a',
    950: '#000000',
  },
}
SCSS
$custom: #8e402a;
$custom-light: #b57764;
$custom-dark: #000000;
JSON
{
  "hex": "#8e402a",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 13.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46954,
    "c": 0.11177,
    "h": 36.6
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#8E402A
secondary
#5DA3B6
accent
#BDDE4A
background
#FBF7F6
surface
#F7EDEB
border
#D0C8C6
text
#120905
muted
#817B7A

Preview Lab

Preview with #8E402A

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

Preview Lab → · Contrast checker → · Palette generator →

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