#A7261C#A7261C

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

Color values

HEX#A7261C
RGBrgb(167, 38, 28)
HSLhsl(4, 71%, 38%)
HSVhsv(4, 83%, 65%)
CMYKcmyk(0%, 77.2%, 83.2%, 34.5%)
CIE-LABlab(37.28, 51.19, 38.38)
CIE-LCHlch(37.28, 63.98, 36.86°)
OKLaboklab(47.9% 0.1456 0.0816)
OKLCHoklch(47.9% 0.167 29.3)
XYZxyz(16.8411, 9.6883, 2.0817)
Luminance0.0969 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7261C #1C9DA7
analogous
#A71C57 #A7261C #A76C1C
triadic
#A7261C #1CA726 #261CA7
tetradic
#A7261C #57A71C #1C9DA7 #6C1CA7
square
#A7261C #57A71C #1C9DA7 #6C1CA7
split-complementary
#A7261C #1CA76C #1C57A7
monochromatic
#3E0E0A #731A13 #A7261C #DB3326 #E3645A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7261C#FFFFFF#000000##FFFFFF
##A7261C1.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)
#4E4619
Deuteranopia (green-blind)
#6E6215
Tritanopia (blue-blind)
#B80025
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7261c;
/* rgb */ color: rgb(167, 38, 28);
/* oklch */ color: oklch(47.9% 0.167 29.3);
Tailwind
colors: {
  custom: {
    50: '#cb6c5a',
    500: '#a7261c',
    950: '#000000',
  },
}
SCSS
$custom: #a7261c;
$custom-light: #cb6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7261c",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 4.317,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.16687,
    "h": 29.3
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#A7261C
secondary
#58BFC7
accent
#E1EE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7261C

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

Preview Lab → · Contrast checker → · Palette generator →

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