#A8271E#A8271E

#A8271E is a mid, vivid red. Relative luminance 0.099; OKLCH L 48.2% C 0.167 H 28.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A8271E
RGBrgb(168, 39, 30)
HSLhsl(4, 70%, 39%)
HSVhsv(4, 82%, 66%)
CMYKcmyk(0%, 76.8%, 82.1%, 34.1%)
CIE-LABlab(37.61, 51.23, 37.69)
CIE-LCHlch(37.61, 63.61, 36.34°)
OKLaboklab(48.19% 0.146 0.0807)
OKLCHoklch(48.19% 0.167 28.9)
XYZxyz(17.1104, 9.8723, 2.2327)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8271E #1E9FA8
analogous
#A81E5A #A8271E #A86C1E
triadic
#A8271E #1EA827 #271EA8
tetradic
#A8271E #5AA81E #1E9FA8 #6C1EA8
square
#A8271E #5AA81E #1E9FA8 #6C1EA8
split-complementary
#A8271E #1EA86C #1E5AA8
monochromatic
#400F0B #741B15 #A8271E #D9362A #E2675E

Accessibility & contrast

On white

7.06
#A8271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A8271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A8271E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8271E#FFFFFF#000000##FFFFFF
##A8271E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461B
Deuteranopia (green-blind)
#6F6317
Tritanopia (blue-blind)
#B90026
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a8271e;
/* rgb */ color: rgb(168, 39, 30);
/* oklch */ color: oklch(48.2% 0.167 28.9);
Tailwind
colors: {
  custom: {
    50: '#cb6c5b',
    500: '#a8271e',
    950: '#000000',
  },
}
SCSS
$custom: #a8271e;
$custom-light: #cb6c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#a8271e",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 3.913,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.16681,
    "h": 28.9
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#A8271E
secondary
#5BC0C7
accent
#E1ED3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A8271E

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

Preview Lab → · Contrast checker → · Palette generator →

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