#8A1F26#8A1F26

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

Color values

HEX#8A1F26
RGBrgb(138, 31, 38)
HSLhsl(356, 63%, 33%)
HSVhsv(356, 78%, 54%)
CMYKcmyk(0%, 77.5%, 72.5%, 45.9%)
CIE-LABlab(30.70, 44.73, 23.70)
CIE-LCHlch(30.70, 50.62, 27.92°)
OKLaboklab(41.99% 0.131 0.0546)
OKLCHoklch(41.99% 0.142 22.6)
XYZxyz(11.3224, 6.5249, 2.4966)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F26 #1F8A83
analogous
#8A1F5B #8A1F26 #8A4D1F
triadic
#8A1F26 #268A1F #1F268A
tetradic
#8A1F26 #5B8A1F #1F8A83 #4D1F8A
square
#8A1F26 #5B8A1F #1F8A83 #4D1F8A
split-complementary
#8A1F26 #1F8A4D #1F5B8A
monochromatic
#26090A #581418 #8A1F26 #BC2A34 #D74C56

Accessibility & contrast

On white

9.11
#8A1F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F26
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F26#FFFFFF#000000##FFFFFF
##8A1F261.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A25
Deuteranopia (green-blind)
#595122
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f26;
/* rgb */ color: rgb(138, 31, 38);
/* oklch */ color: oklch(42.0% 0.142 22.6);
Tailwind
colors: {
  custom: {
    50: '#b46460',
    500: '#8a1f26',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f26;
$custom-light: #b46460;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f26",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.075,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.14189,
    "h": 22.6
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#8A1F26
secondary
#4BBAB2
accent
#E6DC41
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1F26

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

Preview Lab → · Contrast checker → · Palette generator →

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