#A81F26#A81F26

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

Color values

HEX#A81F26
RGBrgb(168, 31, 38)
HSLhsl(357, 69%, 39%)
HSVhsv(357, 82%, 66%)
CMYKcmyk(0%, 81.5%, 77.4%, 34.1%)
CIE-LABlab(36.83, 53.94, 32.32)
CIE-LCHlch(36.83, 62.88, 30.93°)
OKLaboklab(47.64% 0.1562 0.0715)
OKLCHoklch(47.64% 0.172 24.6)
XYZxyz(16.9903, 9.4475, 2.7623)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A81F26 #1FA8A1
analogous
#A81F6B #A81F26 #A85D1F
triadic
#A81F26 #26A81F #1F26A8
tetradic
#A81F26 #6BA81F #1FA8A1 #5D1FA8
square
#A81F26 #6BA81F #1FA8A1 #5D1FA8
split-complementary
#A81F26 #1FA85D #1F6BA8
monochromatic
#410C0F #74151A #A81F26 #D82C35 #E26066

Accessibility & contrast

On white

7.27
#A81F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A81F26
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A81F26#FFFFFF#000000##FFFFFF
##A81F261.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4425
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#B90023
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a81f26;
/* rgb */ color: rgb(168, 31, 38);
/* oklch */ color: oklch(47.6% 0.172 24.6);
Tailwind
colors: {
  custom: {
    50: '#cb6960',
    500: '#a81f26',
    950: '#000000',
  },
}
SCSS
$custom: #a81f26;
$custom-light: #cb6960;
$custom-dark: #000000;
JSON
{
  "hex": "#a81f26",
  "rgb": {
    "r": 168,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.934,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.1718,
    "h": 24.6
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#A81F26
secondary
#5DC6C1
accent
#ECE33C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150705
muted
#837A79

Preview Lab

Preview with #A81F26

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

Preview Lab → · Contrast checker → · Palette generator →

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