#8A1F2C#8A1F2C

#8A1F2C is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 19.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8A1F2C
RGBrgb(138, 31, 44)
HSLhsl(353, 63%, 33%)
HSVhsv(353, 78%, 54%)
CMYKcmyk(0%, 77.5%, 68.1%, 45.9%)
CIE-LABlab(30.80, 45.05, 19.96)
CIE-LCHlch(30.80, 49.28, 23.90°)
OKLaboklab(42.1% 0.1334 0.0472)
OKLCHoklch(42.1% 0.141 19.5)
XYZxyz(11.4271, 6.5668, 3.0482)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F2C #1F8A7D
analogous
#8A1F61 #8A1F2C #8A471F
triadic
#8A1F2C #2C8A1F #1F2C8A
tetradic
#8A1F2C #618A1F #1F8A7D #471F8A
square
#8A1F2C #618A1F #1F8A7D #471F8A
split-complementary
#8A1F2C #1F8A47 #1F618A
monochromatic
#26090C #58141C #8A1F2C #BC2A3C #D74C5D

Accessibility & contrast

On white

9.08
#8A1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F2C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F2C#FFFFFF#000000##FFFFFF
##8A1F2C1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2C
Deuteranopia (green-blind)
#595129
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f2c;
/* rgb */ color: rgb(138, 31, 44);
/* oklch */ color: oklch(42.1% 0.141 19.5);
Tailwind
colors: {
  custom: {
    50: '#b36565',
    500: '#8a1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f2c;
$custom-light: #b36565;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f2c",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 352.71,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.14149,
    "h": 19.5
  },
  "luminance": 0.06565
}

Semantic roles & 50–950 ramp

primary
#8A1F2C
secondary
#4BBAAC
accent
#E6D241
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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