#A7241F#A7241F

#A7241F is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.168 H 27.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A7241F
RGBrgb(167, 36, 31)
HSLhsl(2, 69%, 39%)
HSVhsv(2, 81%, 65%)
CMYKcmyk(0%, 78.4%, 81.4%, 34.5%)
CIE-LABlab(37.08, 51.92, 36.55)
CIE-LCHlch(37.08, 63.50, 35.14°)
OKLaboklab(47.76% 0.1485 0.0786)
OKLCHoklch(47.76% 0.168 27.9)
XYZxyz(16.8166, 9.5789, 2.2595)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7241F #1FA2A7
analogous
#A71F5E #A7241F #A7681F
triadic
#A7241F #1FA724 #241FA7
tetradic
#A7241F #5EA71F #1FA2A7 #681FA7
square
#A7241F #5EA71F #1FA2A7 #681FA7
split-complementary
#A7241F #1FA768 #1F5EA7
monochromatic
#400E0C #731915 #A7241F #D8322B #E1645F

Accessibility & contrast

On white

7.20
#A7241F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A7241F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7241F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7241F#FFFFFF#000000##FFFFFF
##A7241F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D451D
Deuteranopia (green-blind)
#6D6119
Tritanopia (blue-blind)
#B80025
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7241f;
/* rgb */ color: rgb(167, 36, 31);
/* oklch */ color: oklch(47.8% 0.168 27.9);
Tailwind
colors: {
  custom: {
    50: '#ca6b5c',
    500: '#a7241f',
    950: '#000000',
  },
}
SCSS
$custom: #a7241f;
$custom-light: #ca6b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7241f",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 2.206,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.168,
    "h": 27.9
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#A7241F
secondary
#5CC2C6
accent
#E5EC3C
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7241F

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

Preview Lab → · Contrast checker → · Palette generator →

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