#8A1F1C#8A1F1C

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

Color values

HEX#8A1F1C
RGBrgb(138, 31, 28)
HSLhsl(2, 66%, 33%)
HSVhsv(2, 80%, 54%)
CMYKcmyk(0%, 77.5%, 79.7%, 45.9%)
CIE-LABlab(30.57, 44.29, 29.73)
CIE-LCHlch(30.57, 53.34, 33.88°)
OKLaboklab(41.85% 0.1273 0.0653)
OKLCHoklch(41.85% 0.143 27.2)
XYZxyz(11.1821, 6.4688, 1.7582)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F1C #1C878A
analogous
#8A1C50 #8A1F1C #8A561C
triadic
#8A1F1C #1C8A1F #1F1C8A
tetradic
#8A1F1C #508A1C #1C878A #561C8A
square
#8A1F1C #508A1C #1C878A #561C8A
split-complementary
#8A1F1C #1C8A56 #1C508A
monochromatic
#240807 #571412 #8A1F1C #BD2A26 #DA4B47

Accessibility & contrast

On white

9.16
#8A1F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F1C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F1C#FFFFFF#000000##FFFFFF
##8A1F1C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391A
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f1c;
/* rgb */ color: rgb(138, 31, 28);
/* oklch */ color: oklch(41.9% 0.143 27.2);
Tailwind
colors: {
  custom: {
    50: '#b46459',
    500: '#8a1f1c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f1c;
$custom-light: #b46459;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f1c",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 1.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.14308,
    "h": 27.2
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#8A1F1C
secondary
#46B8BB
accent
#E5E93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A1F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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