#A8261F#A8261F

#A8261F is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.1% C 0.167 H 28.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A8261F
RGBrgb(168, 38, 31)
HSLhsl(3, 69%, 39%)
HSVhsv(3, 82%, 66%)
CMYKcmyk(0%, 77.4%, 81.5%, 34.1%)
CIE-LABlab(37.50, 51.59, 37.04)
CIE-LCHlch(37.50, 63.51, 35.68°)
OKLaboklab(48.11% 0.1473 0.0796)
OKLCHoklch(48.11% 0.167 28.4)
XYZxyz(17.0910, 9.8127, 2.2902)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8261F #1FA1A8
analogous
#A81F5D #A8261F #A86B1F
triadic
#A8261F #1FA826 #261FA8
tetradic
#A8261F #5DA81F #1FA1A8 #6B1FA8
square
#A8261F #5DA81F #1FA1A8 #6B1FA8
split-complementary
#A8261F #1FA86B #1F5DA8
monochromatic
#410F0C #741A15 #A8261F #D8352C #E26660

Accessibility & contrast

On white

7.09
#A8261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A8261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A8261F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8261F#FFFFFF#000000##FFFFFF
##A8261F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#B90026
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a8261f;
/* rgb */ color: rgb(168, 38, 31);
/* oklch */ color: oklch(48.1% 0.167 28.4);
Tailwind
colors: {
  custom: {
    50: '#cb6c5c',
    500: '#a8261f',
    950: '#000000',
  },
}
SCSS
$custom: #a8261f;
$custom-light: #cb6c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8261f",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 3.066,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48111,
    "c": 0.16746,
    "h": 28.4
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#A8261F
secondary
#5DC1C6
accent
#E3EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A8261F

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

Preview Lab → · Contrast checker → · Palette generator →

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