#8A1E2E#8A1E2E

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

Color values

HEX#8A1E2E
RGBrgb(138, 30, 46)
HSLhsl(351, 64%, 33%)
HSVhsv(351, 78%, 54%)
CMYKcmyk(0%, 78.3%, 66.7%, 45.9%)
CIE-LABlab(30.71, 45.51, 18.55)
CIE-LCHlch(30.71, 49.15, 22.17°)
OKLaboklab(42.05% 0.1353 0.0443)
OKLCHoklch(42.05% 0.142 18.1)
XYZxyz(11.4399, 6.5308, 3.2424)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E2E #1E8A7A
analogous
#8A1E64 #8A1E2E #8A441E
triadic
#8A1E2E #2E8A1E #1E2E8A
tetradic
#8A1E2E #648A1E #1E8A7A #441E8A
square
#8A1E2E #648A1E #1E8A7A #441E8A
split-complementary
#8A1E2E #1E8A44 #1E648A
monochromatic
#25080C #58131D #8A1E2E #BC293F #D84B60

Accessibility & contrast

On white

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

On black

2.31
#8A1E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A1E2E#FFFFFF#000000##FFFFFF
##8A1E2E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2E
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e2e;
/* rgb */ color: rgb(138, 30, 46);
/* oklch */ color: oklch(42.0% 0.142 18.1);
Tailwind
colors: {
  custom: {
    50: '#b36466',
    500: '#8a1e2e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e2e;
$custom-light: #b36466;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e2e",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 351.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42047,
    "c": 0.14236,
    "h": 18.1
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#8A1E2E
secondary
#4ABAAA
accent
#E7CF41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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