#A81E1F#A81E1F

#A81E1F is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.5% C 0.173 H 26.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A81E1F
RGBrgb(168, 30, 31)
HSLhsl(360, 70%, 39%)
HSVhsv(360, 82%, 66%)
CMYKcmyk(0%, 82.1%, 81.5%, 34.1%)
CIE-LABlab(36.66, 53.97, 36.20)
CIE-LCHlch(36.66, 64.99, 33.85°)
OKLaboklab(47.48% 0.1548 0.0778)
OKLCHoklch(47.48% 0.173 26.7)
XYZxyz(16.8621, 9.3551, 2.2139)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81E1F #1EA8A7
analogous
#A81E64 #A81E1F #A8621E
triadic
#A81E1F #1FA81E #1E1FA8
tetradic
#A81E1F #64A81E #1EA8A7 #621EA8
square
#A81E1F #64A81E #1EA8A7 #621EA8
split-complementary
#A81E1F #1EA862 #1E64A8
monochromatic
#400B0C #741515 #A81E1F #D92A2B #E25E5F

Accessibility & contrast

On white

7.32
#A81E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A81E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81E1F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81E1F#FFFFFF#000000##FFFFFF
##A81E1F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431D
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#BA0021
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a81e1f;
/* rgb */ color: rgb(168, 30, 31);
/* oklch */ color: oklch(47.5% 0.173 26.7);
Tailwind
colors: {
  custom: {
    50: '#cb695c',
    500: '#a81e1f',
    950: '#000000',
  },
}
SCSS
$custom: #a81e1f;
$custom-light: #cb695c;
$custom-dark: #000000;
JSON
{
  "hex": "#a81e1f",
  "rgb": {
    "r": 168,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.565,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.17323,
    "h": 26.7
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#A81E1F
secondary
#5BC7C6
accent
#EDEB3B
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A81E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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