#A81F2F#A81F2F

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

Color values

HEX#A81F2F
RGBrgb(168, 31, 47)
HSLhsl(353, 69%, 39%)
HSVhsv(353, 82%, 66%)
CMYKcmyk(0%, 81.5%, 72%, 34.1%)
CIE-LABlab(36.95, 54.31, 26.98)
CIE-LCHlch(36.95, 60.64, 26.42°)
OKLaboklab(47.77% 0.1595 0.062)
OKLCHoklch(47.77% 0.171 21.2)
XYZxyz(17.1535, 9.5128, 3.6217)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F2F #1FA898
analogous
#A81F74 #A81F2F #A8541F
triadic
#A81F2F #2FA81F #1F2FA8
tetradic
#A81F2F #74A81F #1FA898 #541FA8
square
#A81F2F #74A81F #1FA898 #541FA8
split-complementary
#A81F2F #1FA854 #1F74A8
monochromatic
#410C12 #741521 #A81F2F #D82C40 #E2606F

Accessibility & contrast

On white

7.24
#A81F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A81F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A81F2F
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F2F#FFFFFF#000000##FFFFFF
##A81F2F1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442E
Deuteranopia (green-blind)
#6C612A
Tritanopia (blue-blind)
#B90027
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a81f2f;
/* rgb */ color: rgb(168, 31, 47);
/* oklch */ color: oklch(47.8% 0.171 21.2);
Tailwind
colors: {
  custom: {
    50: '#ca6967',
    500: '#a81f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a81f2f;
$custom-light: #ca6967;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f2f",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 352.993,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.17106,
    "h": 21.2
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#A81F2F
secondary
#5DC6BA
accent
#ECD73C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150706
muted
#837A7A

Preview Lab

Preview with #A81F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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