#A81F2A#A81F2A

#A81F2A is a mid, vivid red. Relative luminance 0.095; OKLCH L 47.7% C 0.171 H 23.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A81F2A
RGBrgb(168, 31, 42)
HSLhsl(355, 69%, 39%)
HSVhsv(355, 82%, 66%)
CMYKcmyk(0%, 81.5%, 75%, 34.1%)
CIE-LABlab(36.88, 54.09, 29.97)
CIE-LCHlch(36.88, 61.84, 28.99°)
OKLaboklab(47.69% 0.1576 0.0675)
OKLCHoklch(47.69% 0.171 23.2)
XYZxyz(17.0584, 9.4747, 3.1207)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F2A #1FA89D
analogous
#A81F6F #A81F2A #A8581F
triadic
#A81F2A #2AA81F #1F2AA8
tetradic
#A81F2A #6FA81F #1FA89D #581FA8
square
#A81F2A #6FA81F #1FA89D #581FA8
split-complementary
#A81F2A #1FA858 #1F6FA8
monochromatic
#410C10 #74151D #A81F2A #D82C3A #E2606A

Accessibility & contrast

On white

7.26
#A81F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A81F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F2A
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F2A#FFFFFF#000000##FFFFFF
##A81F2A1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4429
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#B90025
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a81f2a;
/* rgb */ color: rgb(168, 31, 42);
/* oklch */ color: oklch(47.7% 0.171 23.2);
Tailwind
colors: {
  custom: {
    50: '#cb6963',
    500: '#a81f2a',
    950: '#000000',
  },
}
SCSS
$custom: #a81f2a;
$custom-light: #cb6963;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f2a",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 355.182,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.17143,
    "h": 23.2
  },
  "luminance": 0.09472
}

Semantic roles & 50–950 ramp

primary
#A81F2A
secondary
#5DC6BE
accent
#ECDE3C
background
#FDF6F5
surface
#FBECEA
border
#D4C7C6
text
#150705
muted
#837A79

Preview Lab

Preview with #A81F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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