#A7261B#A7261B

#A7261B is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.9% C 0.167 H 29.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#A7261B
RGBrgb(167, 38, 27)
HSLhsl(5, 72%, 38%)
HSVhsv(5, 84%, 65%)
CMYKcmyk(0%, 77.2%, 83.8%, 34.5%)
CIE-LABlab(37.27, 51.16, 38.90)
CIE-LCHlch(37.27, 64.27, 37.25°)
OKLaboklab(47.89% 0.1453 0.0823)
OKLCHoklch(47.89% 0.167 29.5)
XYZxyz(16.8294, 9.6835, 2.0197)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7261B #1B9CA7
analogous
#A71B56 #A7261B #A76C1B
triadic
#A7261B #1BA726 #261BA7
tetradic
#A7261B #56A71B #1B9CA7 #6C1BA7
square
#A7261B #56A71B #1B9CA7 #6C1BA7
split-complementary
#A7261B #1BA76C #1B56A7
monochromatic
#3E0E0A #721A12 #A7261B #DC3224 #E46358

Accessibility & contrast

On white

7.15
#A7261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A7261B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7261B
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7261B#FFFFFF#000000##FFFFFF
##A7261B1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4618
Deuteranopia (green-blind)
#6E6214
Tritanopia (blue-blind)
#B80025
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7261b;
/* rgb */ color: rgb(167, 38, 27);
/* oklch */ color: oklch(47.9% 0.167 29.5);
Tailwind
colors: {
  custom: {
    50: '#cb6c59',
    500: '#a7261b',
    950: '#000000',
  },
}
SCSS
$custom: #a7261b;
$custom-light: #cb6c59;
$custom-dark: #000000;
JSON
{
  "hex": "#a7261b",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 4.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47889,
    "c": 0.167,
    "h": 29.5
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#A7261B
secondary
#56BFC8
accent
#E1EF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A7261B

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

Preview Lab → · Contrast checker → · Palette generator →

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