#A8231A#A8231A

#A8231A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.170 H 29.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A8231A
RGBrgb(168, 35, 26)
HSLhsl(4, 73%, 38%)
HSVhsv(4, 85%, 66%)
CMYKcmyk(0%, 79.2%, 84.5%, 34.1%)
CIE-LABlab(37.12, 52.39, 39.36)
CIE-LCHlch(37.12, 65.53, 36.92°)
OKLaboklab(47.81% 0.1489 0.0828)
OKLCHoklch(47.81% 0.17 29.1)
XYZxyz(16.9380, 9.6042, 1.9390)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8231A #1A9FA8
analogous
#A81A58 #A8231A #A86A1A
triadic
#A8231A #1AA823 #231AA8
tetradic
#A8231A #58A81A #1A9FA8 #6A1AA8
square
#A8231A #58A81A #1A9FA8 #6A1AA8
split-complementary
#A8231A #1AA86A #1A58A8
monochromatic
#3E0D0A #731812 #A8231A #DD2E22 #E56057

Accessibility & contrast

On white

7.19
#A8231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A8231A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A8231A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8231A#FFFFFF#000000##FFFFFF
##A8231A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4517
Deuteranopia (green-blind)
#6E6212
Tritanopia (blue-blind)
#BA0023
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a8231a;
/* rgb */ color: rgb(168, 35, 26);
/* oklch */ color: oklch(47.8% 0.170 29.1);
Tailwind
colors: {
  custom: {
    50: '#cc6b58',
    500: '#a8231a',
    950: '#000000',
  },
}
SCSS
$custom: #a8231a;
$custom-light: #cc6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#a8231a",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 3.803,
    "s": 73.196,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47813,
    "c": 0.17035,
    "h": 29.1
  },
  "luminance": 0.09601
}

Semantic roles & 50–950 ramp

primary
#A8231A
secondary
#55C1C8
accent
#E4F038
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A8231A

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

Preview Lab → · Contrast checker → · Palette generator →

#A8231A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva