#8A1E2F#8A1E2F

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

Color values

HEX#8A1E2F
RGBrgb(138, 30, 47)
HSLhsl(351, 64%, 33%)
HSVhsv(351, 78%, 54%)
CMYKcmyk(0%, 78.3%, 65.9%, 45.9%)
CIE-LABlab(30.73, 45.58, 17.92)
CIE-LCHlch(30.73, 48.97, 21.46°)
OKLaboklab(42.07% 0.1357 0.043)
OKLCHoklch(42.07% 0.142 17.6)
XYZxyz(11.4598, 6.5388, 3.3475)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E2F #1E8A79
analogous
#8A1E65 #8A1E2F #8A431E
triadic
#8A1E2F #2F8A1E #1E2F8A
tetradic
#8A1E2F #658A1E #1E8A79 #431E8A
square
#8A1E2F #658A1E #1E8A79 #431E8A
split-complementary
#8A1E2F #1E8A43 #1E658A
monochromatic
#25080D #58131E #8A1E2F #BC2940 #D84B61

Accessibility & contrast

On white

9.10
#8A1E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E2F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E2F#FFFFFF#000000##FFFFFF
##8A1E2F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#58512C
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e2f;
/* rgb */ color: rgb(138, 30, 47);
/* oklch */ color: oklch(42.1% 0.142 17.6);
Tailwind
colors: {
  custom: {
    50: '#b36467',
    500: '#8a1e2f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e2f;
$custom-light: #b36467;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e2f",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 350.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42067,
    "c": 0.14235,
    "h": 17.6
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#8A1E2F
secondary
#4ABAA8
accent
#E7CD41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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