#8A402F#8A402F

#8A402F is a mid, moderate red. Relative luminance 0.093; OKLCH L 46.4% C 0.105 H 34.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8A402F
RGBrgb(138, 64, 47)
HSLhsl(11, 49%, 36%)
HSVhsv(11, 66%, 54%)
CMYKcmyk(0%, 53.6%, 65.9%, 45.9%)
CIE-LABlab(36.51, 30.14, 25.16)
CIE-LCHlch(36.51, 39.26, 39.85°)
OKLaboklab(46.41% 0.0871 0.0592)
OKLCHoklch(46.41% 0.105 34.2)
XYZxyz(12.8289, 9.2768, 3.8038)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A402F #2F798A
analogous
#8A2F4C #8A402F #8A6E2F
triadic
#8A402F #2F8A40 #402F8A
tetradic
#8A402F #4C8A2F #2F798A #6E2F8A
square
#8A402F #4C8A2F #2F798A #6E2F8A
split-complementary
#8A402F #2F8A6E #2F4C8A
monochromatic
#2F1610 #5C2B1F #8A402F #B8553F #CC7A68

Accessibility & contrast

On white

7.36
#8A402F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A402F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A402F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A402F#FFFFFF#000000##FFFFFF
##8A402F1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534C2D
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#97323C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a402f;
/* rgb */ color: rgb(138, 64, 47);
/* oklch */ color: oklch(46.4% 0.105 34.2);
Tailwind
colors: {
  custom: {
    50: '#b17768',
    500: '#8a402f',
    950: '#000000',
  },
}
SCSS
$custom: #8a402f;
$custom-light: #b17768;
$custom-dark: #000000;
JSON
{
  "hex": "#8a402f",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 47
  },
  "hsl": {
    "h": 11.209,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.10528,
    "h": 34.2
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#8A402F
secondary
#62A4B3
accent
#BFD94F
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8A402F

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

Preview Lab → · Contrast checker → · Palette generator →

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