#8A231C#8A231C

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

Color values

HEX#8A231C
RGBrgb(138, 35, 28)
HSLhsl(4, 66%, 33%)
HSVhsv(4, 80%, 54%)
CMYKcmyk(0%, 74.6%, 79.7%, 45.9%)
CIE-LABlab(31.09, 42.82, 30.29)
CIE-LCHlch(31.09, 52.45, 35.27°)
OKLaboklab(42.24% 0.1227 0.0665)
OKLCHoklch(42.24% 0.14 28.5)
XYZxyz(11.2932, 6.6909, 1.7952)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A231C #1C838A
analogous
#8A1C4C #8A231C #8A5A1C
triadic
#8A231C #1C8A23 #231C8A
tetradic
#8A231C #4C8A1C #1C838A #5A1C8A
square
#8A231C #4C8A1C #1C838A #5A1C8A
split-complementary
#8A231C #1C8A5A #1C4C8A
monochromatic
#240907 #571612 #8A231C #BD3026 #DA5047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A231C#FFFFFF#000000##FFFFFF
##8A231C1.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)
#423B1A
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a231c;
/* rgb */ color: rgb(138, 35, 28);
/* oklch */ color: oklch(42.2% 0.140 28.5);
Tailwind
colors: {
  custom: {
    50: '#b46659',
    500: '#8a231c',
    950: '#000000',
  },
}
SCSS
$custom: #8a231c;
$custom-light: #b46659;
$custom-dark: #000000;
JSON
{
  "hex": "#8a231c",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 3.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42243,
    "c": 0.13957,
    "h": 28.5
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#8A231C
secondary
#46B4BB
accent
#DEE93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A231C

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

Preview Lab → · Contrast checker → · Palette generator →

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