#A7281F#A7281F

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

Color values

HEX#A7281F
RGBrgb(167, 40, 31)
HSLhsl(4, 69%, 39%)
HSVhsv(4, 81%, 65%)
CMYKcmyk(0%, 76%, 81.4%, 34.5%)
CIE-LABlab(37.54, 50.61, 37.01)
CIE-LCHlch(37.54, 62.70, 36.18°)
OKLaboklab(48.11% 0.1444 0.0797)
OKLCHoklch(48.11% 0.165 28.9)
XYZxyz(16.9445, 9.8347, 2.3021)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7281F #1F9EA7
analogous
#A71F5A #A7281F #A76C1F
triadic
#A7281F #1FA728 #281FA7
tetradic
#A7281F #5AA71F #1F9EA7 #6C1FA7
square
#A7281F #5AA71F #1F9EA7 #6C1FA7
split-complementary
#A7281F #1FA76C #1F5AA7
monochromatic
#400F0C #731C15 #A7281F #D8372B #E1685F

Accessibility & contrast

On white

7.08
#A7281F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A7281F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7281F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7281F#FFFFFF#000000##FFFFFF
##A7281F1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7281f;
/* rgb */ color: rgb(167, 40, 31);
/* oklch */ color: oklch(48.1% 0.165 28.9);
Tailwind
colors: {
  custom: {
    50: '#ca6c5c',
    500: '#a7281f',
    950: '#000000',
  },
}
SCSS
$custom: #a7281f;
$custom-light: #ca6c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7281f",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 31
  },
  "hsl": {
    "h": 3.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.16488,
    "h": 28.9
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#A7281F
secondary
#5CBFC6
accent
#E0EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7281F

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

Preview Lab → · Contrast checker → · Palette generator →

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