#8A1F2B#8A1F2B

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

Color values

HEX#8A1F2B
RGBrgb(138, 31, 43)
HSLhsl(353, 63%, 33%)
HSVhsv(353, 78%, 54%)
CMYKcmyk(0%, 77.5%, 68.8%, 45.9%)
CIE-LABlab(30.78, 44.99, 20.59)
CIE-LCHlch(30.78, 49.48, 24.59°)
OKLaboklab(42.08% 0.133 0.0485)
OKLCHoklch(42.08% 0.142 20)
XYZxyz(11.4085, 6.5594, 2.9504)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F2B #1F8A7E
analogous
#8A1F60 #8A1F2B #8A481F
triadic
#8A1F2B #2B8A1F #1F2B8A
tetradic
#8A1F2B #608A1F #1F8A7E #481F8A
square
#8A1F2B #608A1F #1F8A7E #481F8A
split-complementary
#8A1F2B #1F8A48 #1F608A
monochromatic
#26090C #58141B #8A1F2B #BC2A3B #D74C5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F2B#FFFFFF#000000##FFFFFF
##8A1F2B1.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)
#3E3A2B
Deuteranopia (green-blind)
#595128
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f2b;
/* rgb */ color: rgb(138, 31, 43);
/* oklch */ color: oklch(42.1% 0.142 20.0);
Tailwind
colors: {
  custom: {
    50: '#b36564',
    500: '#8a1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f2b;
$custom-light: #b36564;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f2b",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 353.271,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4208,
    "c": 0.14154,
    "h": 20
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#8A1F2B
secondary
#4BBAAD
accent
#E6D441
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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