#8A402B#8A402B

#8A402B is a mid, moderate red. Relative luminance 0.092; OKLCH L 46.3% C 0.107 H 36.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8A402B
RGBrgb(138, 64, 43)
HSLhsl(13, 52%, 35%)
HSVhsv(13, 69%, 54%)
CMYKcmyk(0%, 53.6%, 68.8%, 45.9%)
CIE-LABlab(36.45, 29.87, 27.47)
CIE-LCHlch(36.45, 40.58, 42.60°)
OKLaboklab(46.35% 0.0855 0.0637)
OKLCHoklch(46.35% 0.107 36.7)
XYZxyz(12.7518, 9.2460, 3.3982)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A402B #2B758A
analogous
#8A2B45 #8A402B #8A6F2B
triadic
#8A402B #2B8A40 #402B8A
tetradic
#8A402B #458A2B #2B758A #6F2B8A
square
#8A402B #458A2B #2B758A #6F2B8A
split-complementary
#8A402B #2B8A6F #2B458A
monochromatic
#2D150E #5B2A1C #8A402B #B9563A #CE7961

Accessibility & contrast

On white

7.37
#8A402B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A402B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A402B#FFFFFF#000000##FFFFFF
##8A402B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544C29
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#97323B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a402b;
/* rgb */ color: rgb(138, 64, 43);
/* oklch */ color: oklch(46.3% 0.107 36.7);
Tailwind
colors: {
  custom: {
    50: '#b17765',
    500: '#8a402b',
    950: '#000000',
  },
}
SCSS
$custom: #8a402b;
$custom-light: #b17765;
$custom-dark: #000000;
JSON
{
  "hex": "#8a402b",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 13.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46346,
    "c": 0.10662,
    "h": 36.7
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#8A402B
secondary
#5DA1B4
accent
#BCDC4C
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120905
muted
#817B7A

Preview Lab

Preview with #8A402B

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

Preview Lab → · Contrast checker → · Palette generator →

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