#8A402C#8A402C

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

Color values

HEX#8A402C
RGBrgb(138, 64, 44)
HSLhsl(13, 52%, 36%)
HSVhsv(13, 68%, 54%)
CMYKcmyk(0%, 53.6%, 68.1%, 45.9%)
CIE-LABlab(36.47, 29.94, 26.89)
CIE-LCHlch(36.47, 40.24, 41.94°)
OKLaboklab(46.36% 0.0859 0.0626)
OKLCHoklch(46.36% 0.106 36.1)
XYZxyz(12.7704, 9.2535, 3.4960)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A402C #2C768A
analogous
#8A2C47 #8A402C #8A6F2C
triadic
#8A402C #2C8A40 #402C8A
tetradic
#8A402C #478A2C #2C768A #6F2C8A
square
#8A402C #478A2C #2C768A #6F2C8A
split-complementary
#8A402C #2C8A6F #2C478A
monochromatic
#2D150E #5C2A1D #8A402C #B8563B #CD7A63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A402C#FFFFFF#000000##FFFFFF
##8A402C1.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)
#534C2A
Deuteranopia (green-blind)
#665C2A
Tritanopia (blue-blind)
#97323B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a402c;
/* rgb */ color: rgb(138, 64, 44);
/* oklch */ color: oklch(46.4% 0.106 36.1);
Tailwind
colors: {
  custom: {
    50: '#b17765',
    500: '#8a402c',
    950: '#000000',
  },
}
SCSS
$custom: #8a402c;
$custom-light: #b17765;
$custom-dark: #000000;
JSON
{
  "hex": "#8a402c",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 12.766,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.10628,
    "h": 36.1
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#8A402C
secondary
#5EA1B4
accent
#BDDB4D
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8A402C

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

Preview Lab → · Contrast checker → · Palette generator →

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