#8A402A#8A402A

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

Color values

HEX#8A402A
RGBrgb(138, 64, 42)
HSLhsl(14, 53%, 35%)
HSVhsv(14, 70%, 54%)
CMYKcmyk(0%, 53.6%, 69.6%, 45.9%)
CIE-LABlab(36.44, 29.81, 28.04)
CIE-LCHlch(36.44, 40.93, 43.25°)
OKLaboklab(46.33% 0.0851 0.0648)
OKLCHoklch(46.33% 0.107 37.3)
XYZxyz(12.7337, 9.2388, 3.3027)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A402A #2A748A
analogous
#8A2A44 #8A402A #8A702A
triadic
#8A402A #2A8A40 #402A8A
tetradic
#8A402A #448A2A #2A748A #702A8A
square
#8A402A #448A2A #2A748A #702A8A
split-complementary
#8A402A #2A8A70 #2A448A
monochromatic
#2C140D #5B2A1C #8A402A #B95638 #CF7960

Accessibility & contrast

On white

7.38
#8A402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A402A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A402A#FFFFFF#000000##FFFFFF
##8A402A1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a402a;
/* rgb */ color: rgb(138, 64, 42);
/* oklch */ color: oklch(46.3% 0.107 37.3);
Tailwind
colors: {
  custom: {
    50: '#b27764',
    500: '#8a402a',
    950: '#000000',
  },
}
SCSS
$custom: #8a402a;
$custom-light: #b27764;
$custom-dark: #000000;
JSON
{
  "hex": "#8a402a",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 13.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.10697,
    "h": 37.3
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#8A402A
secondary
#5BA0B4
accent
#BBDD4B
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120905
muted
#817B7A

Preview Lab

Preview with #8A402A

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

Preview Lab → · Contrast checker → · Palette generator →

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