#8A241F#8A241F

#8A241F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.4% C 0.138 H 27.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#8A241F
RGBrgb(138, 36, 31)
HSLhsl(3, 63%, 33%)
HSVhsv(3, 78%, 54%)
CMYKcmyk(0%, 73.9%, 77.5%, 45.9%)
CIE-LABlab(31.27, 42.56, 28.69)
CIE-LCHlch(31.27, 51.33, 33.99°)
OKLaboklab(42.39% 0.1225 0.0639)
OKLCHoklch(42.39% 0.138 27.6)
XYZxyz(11.3607, 6.7657, 2.0038)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A241F #1F858A
analogous
#8A1F4F #8A241F #8A591F
triadic
#8A241F #1F8A24 #241F8A
tetradic
#8A241F #4F8A1F #1F858A #591F8A
square
#8A241F #4F8A1F #1F858A #591F8A
split-complementary
#8A241F #1F8A59 #1F4F8A
monochromatic
#260A09 #581714 #8A241F #BC312A #D7534C

Accessibility & contrast

On white

8.93
#8A241F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8A241F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A241F
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A241F#FFFFFF#000000##FFFFFF
##8A241F1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a241f;
/* rgb */ color: rgb(138, 36, 31);
/* oklch */ color: oklch(42.4% 0.138 27.6);
Tailwind
colors: {
  custom: {
    50: '#b4665b',
    500: '#8a241f',
    950: '#000000',
  },
}
SCSS
$custom: #8a241f;
$custom-light: #b4665b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a241f",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 31
  },
  "hsl": {
    "h": 2.804,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.13819,
    "h": 27.6
  },
  "luminance": 0.06764
}

Semantic roles & 50–950 ramp

primary
#8A241F
secondary
#4BB4BA
accent
#DFE641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A241F

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

Preview Lab → · Contrast checker → · Palette generator →

#8A241F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva