#8A251B#8A251B

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

Color values

HEX#8A251B
RGBrgb(138, 37, 27)
HSLhsl(5, 67%, 32%)
HSVhsv(5, 80%, 54%)
CMYKcmyk(0%, 73.2%, 80.4%, 45.9%)
CIE-LABlab(31.36, 42.01, 31.16)
CIE-LCHlch(31.36, 52.30, 36.57°)
OKLaboklab(42.44% 0.1199 0.0681)
OKLCHoklch(42.44% 0.138 29.6)
XYZxyz(11.3420, 6.8073, 1.7534)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A251B #1B808A
analogous
#8A1B49 #8A251B #8A5C1B
triadic
#8A251B #1B8A25 #251B8A
tetradic
#8A251B #498A1B #1B808A #5C1B8A
square
#8A251B #498A1B #1B808A #5C1B8A
split-complementary
#8A251B #1B8A5C #1B498A
monochromatic
#240A07 #571711 #8A251B #BD3325 #DB5245

Accessibility & contrast

On white

8.89
#8A251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A251B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A251B#FFFFFF#000000##FFFFFF
##8A251B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C19
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a251b;
/* rgb */ color: rgb(138, 37, 27);
/* oklch */ color: oklch(42.4% 0.138 29.6);
Tailwind
colors: {
  custom: {
    50: '#b46758',
    500: '#8a251b',
    950: '#000000',
  },
}
SCSS
$custom: #8a251b;
$custom-light: #b46758;
$custom-dark: #000000;
JSON
{
  "hex": "#8a251b",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 5.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.13791,
    "h": 29.6
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#8A251B
secondary
#45B1BC
accent
#DBEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A251B

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

Preview Lab → · Contrast checker → · Palette generator →

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