#A7241B#A7241B

#A7241B is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.7% C 0.169 H 29.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#A7241B
RGBrgb(167, 36, 27)
HSLhsl(4, 72%, 38%)
HSVhsv(4, 84%, 65%)
CMYKcmyk(0%, 78.4%, 83.8%, 34.5%)
CIE-LABlab(37.04, 51.80, 38.69)
CIE-LCHlch(37.04, 64.65, 36.75°)
OKLaboklab(47.72% 0.1473 0.0818)
OKLCHoklch(47.72% 0.169 29.1)
XYZxyz(16.7671, 9.5591, 1.9989)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7241B #1B9EA7
analogous
#A71B58 #A7241B #A76A1B
triadic
#A7241B #1BA724 #241BA7
tetradic
#A7241B #58A71B #1B9EA7 #6A1BA7
square
#A7241B #58A71B #1B9EA7 #6A1BA7
split-complementary
#A7241B #1BA76A #1B58A7
monochromatic
#3E0D0A #721912 #A7241B #DC2F24 #E46158

Accessibility & contrast

On white

7.21
#A7241B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A7241B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7241B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7241B#FFFFFF#000000##FFFFFF
##A7241B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4518
Deuteranopia (green-blind)
#6E6114
Tritanopia (blue-blind)
#B80024
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7241b;
/* rgb */ color: rgb(167, 36, 27);
/* oklch */ color: oklch(47.7% 0.169 29.1);
Tailwind
colors: {
  custom: {
    50: '#cb6b59',
    500: '#a7241b',
    950: '#000000',
  },
}
SCSS
$custom: #a7241b;
$custom-light: #cb6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#a7241b",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 27
  },
  "hsl": {
    "h": 3.857,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.16852,
    "h": 29.1
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#A7241B
secondary
#56C0C8
accent
#E3EF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #A7241B

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

Preview Lab → · Contrast checker → · Palette generator →

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