#8A231D#8A231D

#8A231D is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.139 H 28.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8A231D
RGBrgb(138, 35, 29)
HSLhsl(3, 65%, 33%)
HSVhsv(3, 79%, 54%)
CMYKcmyk(0%, 74.6%, 79%, 45.9%)
CIE-LABlab(31.10, 42.86, 29.71)
CIE-LCHlch(31.10, 52.15, 34.73°)
OKLaboklab(42.26% 0.123 0.0656)
OKLCHoklch(42.26% 0.139 28.1)
XYZxyz(11.3054, 6.6958, 1.8593)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A231D #1D848A
analogous
#8A1D4D #8A231D #8A5A1D
triadic
#8A231D #1D8A23 #231D8A
tetradic
#8A231D #4D8A1D #1D848A #5A1D8A
square
#8A231D #4D8A1D #1D848A #5A1D8A
split-complementary
#8A231D #1D8A5A #1D4D8A
monochromatic
#250908 #571612 #8A231D #BD3028 #D95149

Accessibility & contrast

On white

8.98
#8A231D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A231D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A231D#FFFFFF#000000##FFFFFF
##8A231D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1B
Deuteranopia (green-blind)
#5B5119
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a231d;
/* rgb */ color: rgb(138, 35, 29);
/* oklch */ color: oklch(42.3% 0.139 28.1);
Tailwind
colors: {
  custom: {
    50: '#b46659',
    500: '#8a231d',
    950: '#000000',
  },
}
SCSS
$custom: #8a231d;
$custom-light: #b46659;
$custom-dark: #000000;
JSON
{
  "hex": "#8a231d",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 29
  },
  "hsl": {
    "h": 3.303,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.13942,
    "h": 28.1
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#8A231D
secondary
#48B4BB
accent
#DFE840
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A231D

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

Preview Lab → · Contrast checker → · Palette generator →

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