#8A251F#8A251F

#8A251F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.5% C 0.137 H 27.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8A251F
RGBrgb(138, 37, 31)
HSLhsl(3, 63%, 33%)
HSVhsv(3, 78%, 54%)
CMYKcmyk(0%, 73.2%, 77.5%, 45.9%)
CIE-LABlab(31.41, 42.16, 28.85)
CIE-LCHlch(31.41, 51.09, 34.38°)
OKLaboklab(42.49% 0.1213 0.0643)
OKLCHoklch(42.49% 0.137 27.9)
XYZxyz(11.3914, 6.8271, 2.0140)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A251F #1F848A
analogous
#8A1F4F #8A251F #8A5A1F
triadic
#8A251F #1F8A25 #251F8A
tetradic
#8A251F #4F8A1F #1F848A #5A1F8A
square
#8A251F #4F8A1F #1F848A #5A1F8A
split-complementary
#8A251F #1F8A5A #1F4F8A
monochromatic
#260A09 #581814 #8A251F #BC322A #D7544C

Accessibility & contrast

On white

8.88
#8A251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A251F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A251F#FFFFFF#000000##FFFFFF
##8A251F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C1D
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a251f;
/* rgb */ color: rgb(138, 37, 31);
/* oklch */ color: oklch(42.5% 0.137 27.9);
Tailwind
colors: {
  custom: {
    50: '#b4675b',
    500: '#8a251f',
    950: '#000000',
  },
}
SCSS
$custom: #8a251f;
$custom-light: #b4675b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a251f",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 3.364,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.13725,
    "h": 27.9
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#8A251F
secondary
#4BB3BA
accent
#DDE641
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A251F

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

Preview Lab → · Contrast checker → · Palette generator →

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