#8A402E#8A402E

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

Color values

HEX#8A402E
RGBrgb(138, 64, 46)
HSLhsl(12, 50%, 36%)
HSVhsv(12, 67%, 54%)
CMYKcmyk(0%, 53.6%, 66.7%, 45.9%)
CIE-LABlab(36.50, 30.07, 25.74)
CIE-LCHlch(36.50, 39.58, 40.56°)
OKLaboklab(46.39% 0.0867 0.0604)
OKLCHoklch(46.39% 0.106 34.9)
XYZxyz(12.8089, 9.2689, 3.6988)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A402E #2E788A
analogous
#8A2E4A #8A402E #8A6E2E
triadic
#8A402E #2E8A40 #402E8A
tetradic
#8A402E #4A8A2E #2E788A #6E2E8A
square
#8A402E #4A8A2E #2E788A #6E2E8A
split-complementary
#8A402E #2E8A6E #2E4A8A
monochromatic
#2E150F #5C2B1F #8A402E #B8553D #CC7A66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A402E#FFFFFF#000000##FFFFFF
##8A402E1.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)
#534C2C
Deuteranopia (green-blind)
#655C2C
Tritanopia (blue-blind)
#97323C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a402e;
/* rgb */ color: rgb(138, 64, 46);
/* oklch */ color: oklch(46.4% 0.106 34.9);
Tailwind
colors: {
  custom: {
    50: '#b17767',
    500: '#8a402e',
    950: '#000000',
  },
}
SCSS
$custom: #8a402e;
$custom-light: #b17767;
$custom-dark: #000000;
JSON
{
  "hex": "#8a402e",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 11.739,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46393,
    "c": 0.10561,
    "h": 34.9
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#8A402E
secondary
#61A3B3
accent
#BEDA4E
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8A402E

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

Preview Lab → · Contrast checker → · Palette generator →

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