#A8231E#A8231E

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

Color values

HEX#A8231E
RGBrgb(168, 35, 30)
HSLhsl(2, 70%, 39%)
HSVhsv(2, 82%, 66%)
CMYKcmyk(0%, 79.2%, 82.1%, 34.1%)
CIE-LABlab(37.16, 52.51, 37.25)
CIE-LCHlch(37.16, 64.38, 35.35°)
OKLaboklab(47.85% 0.15 0.0797)
OKLCHoklch(47.85% 0.17 28)
XYZxyz(16.9859, 9.6234, 2.1912)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8231E #1EA3A8
analogous
#A81E5E #A8231E #A8681E
triadic
#A8231E #1EA823 #231EA8
tetradic
#A8231E #5EA81E #1EA3A8 #681EA8
square
#A8231E #5EA81E #1EA3A8 #681EA8
split-complementary
#A8231E #1EA868 #1E5EA8
monochromatic
#400D0B #741815 #A8231E #D9312A #E2635E

Accessibility & contrast

On white

7.18
#A8231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A8231E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8231E#FFFFFF#000000##FFFFFF
##A8231E1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451C
Deuteranopia (green-blind)
#6E6217
Tritanopia (blue-blind)
#B90024
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a8231e;
/* rgb */ color: rgb(168, 35, 30);
/* oklch */ color: oklch(47.9% 0.170 28.0);
Tailwind
colors: {
  custom: {
    50: '#cb6b5b',
    500: '#a8231e',
    950: '#000000',
  },
}
SCSS
$custom: #a8231e;
$custom-light: #cb6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8231e",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 2.174,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.16985,
    "h": 28
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#A8231E
secondary
#5BC3C7
accent
#E6ED3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A8231E

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

Preview Lab → · Contrast checker → · Palette generator →

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