#A7281C#A7281C

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

Color values

HEX#A7281C
RGBrgb(167, 40, 28)
HSLhsl(5, 71%, 38%)
HSVhsv(5, 83%, 65%)
CMYKcmyk(0%, 76%, 83.2%, 34.5%)
CIE-LABlab(37.52, 50.52, 38.61)
CIE-LCHlch(37.52, 63.58, 37.38°)
OKLaboklab(48.08% 0.1435 0.0821)
OKLCHoklch(48.08% 0.165 29.8)
XYZxyz(16.9068, 9.8196, 2.1035)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7281C #1C9BA7
analogous
#A71C55 #A7281C #A76D1C
triadic
#A7281C #1CA728 #281CA7
tetradic
#A7281C #55A71C #1C9BA7 #6D1CA7
square
#A7281C #55A71C #1C9BA7 #6D1CA7
split-complementary
#A7281C #1CA76D #1C55A7
monochromatic
#3E0F0A #731B13 #A7281C #DB3526 #E3665A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7281C#FFFFFF#000000##FFFFFF
##A7281C1.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)
#4F4619
Deuteranopia (green-blind)
#6F6215
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7281c;
/* rgb */ color: rgb(167, 40, 28);
/* oklch */ color: oklch(48.1% 0.165 29.8);
Tailwind
colors: {
  custom: {
    50: '#ca6c5a',
    500: '#a7281c',
    950: '#000000',
  },
}
SCSS
$custom: #a7281c;
$custom-light: #ca6c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7281c",
  "rgb": {
    "r": 167,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 5.18,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48077,
    "c": 0.1653,
    "h": 29.8
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#A7281C
secondary
#58BDC7
accent
#DEEE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79

Preview Lab

Preview with #A7281C

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

Preview Lab → · Contrast checker → · Palette generator →

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