#8A231A#8A231A

#8A231A is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.2% C 0.140 H 29.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8A231A
RGBrgb(138, 35, 26)
HSLhsl(5, 68%, 32%)
HSVhsv(5, 81%, 54%)
CMYKcmyk(0%, 74.6%, 81.2%, 45.9%)
CIE-LABlab(31.07, 42.75, 31.43)
CIE-LCHlch(31.07, 53.06, 36.33°)
OKLaboklab(42.22% 0.122 0.0684)
OKLCHoklch(42.22% 0.14 29.3)
XYZxyz(11.2700, 6.6817, 1.6734)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A231A #1A818A
analogous
#8A1A49 #8A231A #8A5B1A
triadic
#8A231A #1A8A23 #231A8A
tetradic
#8A231A #498A1A #1A818A #5B1A8A
square
#8A231A #498A1A #1A818A #5B1A8A
split-complementary
#8A231A #1A8A5B #1A498A
monochromatic
#230907 #571610 #8A231A #BD3024 #DC4F43

Accessibility & contrast

On white

8.99
#8A231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A231A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A231A#FFFFFF#000000##FFFFFF
##8A231A1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B18
Deuteranopia (green-blind)
#5B5115
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a231a;
/* rgb */ color: rgb(138, 35, 26);
/* oklch */ color: oklch(42.2% 0.140 29.3);
Tailwind
colors: {
  custom: {
    50: '#b46657',
    500: '#8a231a',
    950: '#000000',
  },
}
SCSS
$custom: #8a231a;
$custom-light: #b46657;
$custom-dark: #000000;
JSON
{
  "hex": "#8a231a",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 4.821,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.13989,
    "h": 29.3
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#8A231A
secondary
#43B3BD
accent
#DDEB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A231A

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

Preview Lab → · Contrast checker → · Palette generator →

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