#8A1C2F#8A1C2F

#8A1C2F is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.144 H 17.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8A1C2F
RGBrgb(138, 28, 47)
HSLhsl(350, 66%, 33%)
HSVhsv(350, 80%, 54%)
CMYKcmyk(0%, 79.7%, 65.9%, 45.9%)
CIE-LABlab(30.50, 46.24, 17.62)
CIE-LCHlch(30.50, 49.48, 20.86°)
OKLaboklab(41.89% 0.1378 0.0423)
OKLCHoklch(41.89% 0.144 17)
XYZxyz(11.4108, 6.4407, 3.3311)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C2F #1C8A77
analogous
#8A1C66 #8A1C2F #8A401C
triadic
#8A1C2F #2F8A1C #1C2F8A
tetradic
#8A1C2F #668A1C #1C8A77 #401C8A
square
#8A1C2F #668A1C #1C8A77 #401C8A
split-complementary
#8A1C2F #1C8A40 #1C668A
monochromatic
#24070C #57121E #8A1C2F #BD2640 #DA4760

Accessibility & contrast

On white

9.18
#8A1C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1C2F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C2F#FFFFFF#000000##FFFFFF
##8A1C2F1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1c2f;
/* rgb */ color: rgb(138, 28, 47);
/* oklch */ color: oklch(41.9% 0.144 17.0);
Tailwind
colors: {
  custom: {
    50: '#b36367',
    500: '#8a1c2f',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c2f;
$custom-light: #b36367;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c2f",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 349.636,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.14416,
    "h": 17
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#8A1C2F
secondary
#46BBA7
accent
#E9CC3F
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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