#A81F2D#A81F2D

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

Color values

HEX#A81F2D
RGBrgb(168, 31, 45)
HSLhsl(354, 69%, 39%)
HSVhsv(354, 82%, 66%)
CMYKcmyk(0%, 81.5%, 73.2%, 34.1%)
CIE-LABlab(36.92, 54.22, 28.18)
CIE-LCHlch(36.92, 61.11, 27.46°)
OKLaboklab(47.73% 0.1587 0.0642)
OKLCHoklch(47.73% 0.171 22)
XYZxyz(17.1141, 9.4970, 3.4141)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F2D #1FA89A
analogous
#A81F72 #A81F2D #A8561F
triadic
#A81F2D #2DA81F #1F2DA8
tetradic
#A81F2D #72A81F #1FA89A #561FA8
square
#A81F2D #72A81F #1FA89A #561FA8
split-complementary
#A81F2D #1FA856 #1F72A8
monochromatic
#410C11 #74151F #A81F2D #D82C3E #E2606D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A81F2D#FFFFFF#000000##FFFFFF
##A81F2D1.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)
#4A442C
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#B90026
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a81f2d;
/* rgb */ color: rgb(168, 31, 45);
/* oklch */ color: oklch(47.7% 0.171 22.0);
Tailwind
colors: {
  custom: {
    50: '#ca6966',
    500: '#a81f2d',
    950: '#000000',
  },
}
SCSS
$custom: #a81f2d;
$custom-light: #ca6966;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f2d",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 353.869,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.17119,
    "h": 22
  },
  "luminance": 0.09494
}

Semantic roles & 50–950 ramp

primary
#A81F2D
secondary
#5DC6BB
accent
#ECDA3C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A81F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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