#A7241C#A7241C

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

Color values

HEX#A7241C
RGBrgb(167, 36, 28)
HSLhsl(3, 71%, 38%)
HSVhsv(3, 83%, 65%)
CMYKcmyk(0%, 78.4%, 83.2%, 34.5%)
CIE-LABlab(37.05, 51.83, 38.16)
CIE-LCHlch(37.05, 64.36, 36.36°)
OKLaboklab(47.73% 0.1476 0.0811)
OKLCHoklch(47.73% 0.168 28.8)
XYZxyz(16.7789, 9.5638, 2.0609)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7241C #1C9FA7
analogous
#A71C59 #A7241C #A7691C
triadic
#A7241C #1CA724 #241CA7
tetradic
#A7241C #59A71C #1C9FA7 #691CA7
square
#A7241C #59A71C #1C9FA7 #691CA7
split-complementary
#A7241C #1CA769 #1C59A7
monochromatic
#3E0D0A #731913 #A7241C #DB3026 #E3625A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7241C#FFFFFF#000000##FFFFFF
##A7241C1.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)
#4D4519
Deuteranopia (green-blind)
#6E6115
Tritanopia (blue-blind)
#B80024
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a7241c;
/* rgb */ color: rgb(167, 36, 28);
/* oklch */ color: oklch(47.7% 0.168 28.8);
Tailwind
colors: {
  custom: {
    50: '#cb6b5a',
    500: '#a7241c',
    950: '#000000',
  },
}
SCSS
$custom: #a7241c;
$custom-light: #cb6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7241c",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 28
  },
  "hsl": {
    "h": 3.453,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47727,
    "c": 0.16839,
    "h": 28.8
  },
  "luminance": 0.09561
}

Semantic roles & 50–950 ramp

primary
#A7241C
secondary
#58C1C7
accent
#E4EE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150704
muted
#837A79

Preview Lab

Preview with #A7241C

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

Preview Lab → · Contrast checker → · Palette generator →

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