#8A402D#8A402D

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

Color values

HEX#8A402D
RGBrgb(138, 64, 45)
HSLhsl(12, 51%, 36%)
HSVhsv(12, 67%, 54%)
CMYKcmyk(0%, 53.6%, 67.4%, 45.9%)
CIE-LABlab(36.48, 30.00, 26.32)
CIE-LCHlch(36.48, 39.91, 41.26°)
OKLaboklab(46.38% 0.0863 0.0615)
OKLCHoklch(46.38% 0.106 35.5)
XYZxyz(12.7894, 9.2611, 3.5962)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A402D #2D778A
analogous
#8A2D48 #8A402D #8A6E2D
triadic
#8A402D #2D8A40 #402D8A
tetradic
#8A402D #488A2D #2D778A #6E2D8A
square
#8A402D #488A2D #2D778A #6E2D8A
split-complementary
#8A402D #2D8A6E #2D488A
monochromatic
#2E150F #5C2B1E #8A402D #B8553C #CD7A65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A402D#FFFFFF#000000##FFFFFF
##8A402D1.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)
#534C2B
Deuteranopia (green-blind)
#665C2B
Tritanopia (blue-blind)
#97323C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a402d;
/* rgb */ color: rgb(138, 64, 45);
/* oklch */ color: oklch(46.4% 0.106 35.5);
Tailwind
colors: {
  custom: {
    50: '#b17766',
    500: '#8a402d',
    950: '#000000',
  },
}
SCSS
$custom: #8a402d;
$custom-light: #b17766;
$custom-dark: #000000;
JSON
{
  "hex": "#8a402d",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 12.258,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46377,
    "c": 0.10594,
    "h": 35.5
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#8A402D
secondary
#60A2B3
accent
#BEDA4D
background
#FBF7F6
surface
#F6EDEB
border
#D0C8C6
text
#120906
muted
#817B7A

Preview Lab

Preview with #8A402D

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

Preview Lab → · Contrast checker → · Palette generator →

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