#A81F2B#A81F2B

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

Color values

HEX#A81F2B
RGBrgb(168, 31, 43)
HSLhsl(355, 69%, 39%)
HSVhsv(355, 82%, 66%)
CMYKcmyk(0%, 81.5%, 74.4%, 34.1%)
CIE-LABlab(36.90, 54.13, 29.38)
CIE-LCHlch(36.90, 61.59, 28.49°)
OKLaboklab(47.7% 0.158 0.0664)
OKLCHoklch(47.7% 0.171 22.8)
XYZxyz(17.0765, 9.4820, 3.2161)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F2B #1FA89C
analogous
#A81F6F #A81F2B #A8581F
triadic
#A81F2B #2BA81F #1F2BA8
tetradic
#A81F2B #6FA81F #1FA89C #581FA8
square
#A81F2B #6FA81F #1FA89C #581FA8
split-complementary
#A81F2B #1FA858 #1F6FA8
monochromatic
#410C11 #74151E #A81F2B #D82C3B #E2606B

Accessibility & contrast

On white

7.25
#A81F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F2B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F2B#FFFFFF#000000##FFFFFF
##A81F2B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a81f2b;
/* rgb */ color: rgb(168, 31, 43);
/* oklch */ color: oklch(47.7% 0.171 22.8);
Tailwind
colors: {
  custom: {
    50: '#cb6964',
    500: '#a81f2b',
    950: '#000000',
  },
}
SCSS
$custom: #a81f2b;
$custom-light: #cb6964;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f2b",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 354.745,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.17135,
    "h": 22.8
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#A81F2B
secondary
#5DC6BD
accent
#ECDC3C
background
#FDF6F6
surface
#FBECEB
border
#D4C7C6
text
#150705
muted
#837A7A

Preview Lab

Preview with #A81F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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