#8A1F19#8A1F19

#8A1F19 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.8% C 0.143 H 28.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8A1F19
RGBrgb(138, 31, 25)
HSLhsl(3, 69%, 32%)
HSVhsv(3, 82%, 54%)
CMYKcmyk(0%, 77.5%, 81.9%, 45.9%)
CIE-LABlab(30.53, 44.18, 31.46)
CIE-LCHlch(30.53, 54.24, 35.46°)
OKLaboklab(41.82% 0.1263 0.0681)
OKLCHoklch(41.82% 0.143 28.3)
XYZxyz(11.1480, 6.4552, 1.5785)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F19 #19848A
analogous
#8A194C #8A1F19 #8A5819
triadic
#8A1F19 #198A1F #1F198A
tetradic
#8A1F19 #4C8A19 #19848A #58198A
square
#8A1F19 #4C8A19 #19848A #58198A
split-complementary
#8A1F19 #198A58 #194C8A
monochromatic
#220806 #561310 #8A1F19 #BE2B22 #DD4941

Accessibility & contrast

On white

9.17
#8A1F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F19
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F19#FFFFFF#000000##FFFFFF
##8A1F191.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403917
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#99001F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f19;
/* rgb */ color: rgb(138, 31, 25);
/* oklch */ color: oklch(41.8% 0.143 28.3);
Tailwind
colors: {
  custom: {
    50: '#b56456',
    500: '#8a1f19',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f19;
$custom-light: #b56456;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f19",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 3.186,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41815,
    "c": 0.14349,
    "h": 28.3
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#8A1F19
secondary
#42B7BD
accent
#E3EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1F19

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

Preview Lab → · Contrast checker → · Palette generator →

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