#8A1F22#8A1F22

#8A1F22 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.142 H 24.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#8A1F22
RGBrgb(138, 31, 34)
HSLhsl(358, 63%, 33%)
HSVhsv(358, 78%, 54%)
CMYKcmyk(0%, 77.5%, 75.4%, 45.9%)
CIE-LABlab(30.64, 44.53, 26.15)
CIE-LCHlch(30.64, 51.65, 30.42°)
OKLaboklab(41.93% 0.1294 0.0591)
OKLCHoklch(41.93% 0.142 24.6)
XYZxyz(11.2613, 6.5005, 2.1748)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F22 #1F8A87
analogous
#8A1F57 #8A1F22 #8A511F
triadic
#8A1F22 #228A1F #1F228A
tetradic
#8A1F22 #578A1F #1F8A87 #511F8A
square
#8A1F22 #578A1F #1F8A87 #511F8A
split-complementary
#8A1F22 #1F8A51 #1F578A
monochromatic
#260909 #581416 #8A1F22 #BC2A2E #D74C50

Accessibility & contrast

On white

9.13
#8A1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F22
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F22#FFFFFF#000000##FFFFFF
##8A1F221.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3921
Deuteranopia (green-blind)
#5A501E
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f22;
/* rgb */ color: rgb(138, 31, 34);
/* oklch */ color: oklch(41.9% 0.142 24.6);
Tailwind
colors: {
  custom: {
    50: '#b4645d',
    500: '#8a1f22',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f22;
$custom-light: #b4645d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f22",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.318,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41931,
    "c": 0.14231,
    "h": 24.6
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#8A1F22
secondary
#4BBAB7
accent
#E6E241
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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