#A81F20#A81F20

#A81F20 is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.6% C 0.172 H 26.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A81F20
RGBrgb(168, 31, 32)
HSLhsl(360, 69%, 39%)
HSVhsv(360, 82%, 66%)
CMYKcmyk(0%, 81.5%, 81%, 34.1%)
CIE-LABlab(36.77, 53.73, 35.74)
CIE-LCHlch(36.77, 64.53, 33.63°)
OKLaboklab(47.57% 0.1542 0.0771)
OKLCHoklch(47.57% 0.172 26.6)
XYZxyz(16.9012, 9.4118, 2.2930)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F20 #1FA8A7
analogous
#A81F65 #A81F20 #A8631F
triadic
#A81F20 #20A81F #1F20A8
tetradic
#A81F20 #65A81F #1FA8A7 #631FA8
square
#A81F20 #65A81F #1FA8A7 #631FA8
split-complementary
#A81F20 #1FA863 #1F65A8
monochromatic
#410C0C #741516 #A81F20 #D82C2D #E26061

Accessibility & contrast

On white

7.29
#A81F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A81F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F20
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F20#FFFFFF#000000##FFFFFF
##A81F201.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B441E
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#B90022
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a81f20;
/* rgb */ color: rgb(168, 31, 32);
/* oklch */ color: oklch(47.6% 0.172 26.6);
Tailwind
colors: {
  custom: {
    50: '#cb695c',
    500: '#a81f20',
    950: '#000000',
  },
}
SCSS
$custom: #a81f20;
$custom-light: #cb695c;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f20",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.562,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.17245,
    "h": 26.6
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#A81F20
secondary
#5DC6C5
accent
#ECEA3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A81F20

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

Preview Lab → · Contrast checker → · Palette generator →

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