#A7261F#A7261F

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

Color values

HEX#A7261F
RGBrgb(167, 38, 31)
HSLhsl(3, 69%, 39%)
HSVhsv(3, 81%, 65%)
CMYKcmyk(0%, 77.2%, 81.4%, 34.5%)
CIE-LABlab(37.30, 51.28, 36.78)
CIE-LCHlch(37.30, 63.10, 35.65°)
OKLaboklab(47.93% 0.1465 0.0791)
OKLCHoklch(47.93% 0.166 28.4)
XYZxyz(16.8788, 9.7033, 2.2803)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7261F #1FA0A7
analogous
#A71F5C #A7261F #A76A1F
triadic
#A7261F #1FA726 #261FA7
tetradic
#A7261F #5CA71F #1FA0A7 #6A1FA7
square
#A7261F #5CA71F #1FA0A7 #6A1FA7
split-complementary
#A7261F #1FA76A #1F5CA7
monochromatic
#400F0C #731A15 #A7261F #D8342B #E1665F

Accessibility & contrast

On white

7.14
#A7261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A7261F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7261F#FFFFFF#000000##FFFFFF
##A7261F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7261f;
/* rgb */ color: rgb(167, 38, 31);
/* oklch */ color: oklch(47.9% 0.166 28.4);
Tailwind
colors: {
  custom: {
    50: '#ca6c5c',
    500: '#a7261f',
    950: '#000000',
  },
}
SCSS
$custom: #a7261f;
$custom-light: #ca6c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7261f",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 3.088,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.16646,
    "h": 28.4
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7261F

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

Preview Lab → · Contrast checker → · Palette generator →

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