#8A1D2B#8A1D2B

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

Color values

HEX#8A1D2B
RGBrgb(138, 29, 43)
HSLhsl(352, 65%, 33%)
HSVhsv(352, 79%, 54%)
CMYKcmyk(0%, 79%, 68.8%, 45.9%)
CIE-LABlab(30.54, 45.67, 20.28)
CIE-LCHlch(30.54, 49.97, 23.95°)
OKLaboklab(41.9% 0.1351 0.0478)
OKLCHoklch(41.9% 0.143 19.5)
XYZxyz(11.3579, 6.4582, 2.9335)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D2B #1D8A7C
analogous
#8A1D61 #8A1D2B #8A461D
triadic
#8A1D2B #2B8A1D #1D2B8A
tetradic
#8A1D2B #618A1D #1D8A7C #461D8A
square
#8A1D2B #618A1D #1D8A7C #461D8A
split-complementary
#8A1D2B #1D8A46 #1D618A
monochromatic
#25080B #57121B #8A1D2B #BD283B #D9495B

Accessibility & contrast

On white

9.17
#8A1D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1D2B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D2B#FFFFFF#000000##FFFFFF
##8A1D2B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392B
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d2b;
/* rgb */ color: rgb(138, 29, 43);
/* oklch */ color: oklch(41.9% 0.143 19.5);
Tailwind
colors: {
  custom: {
    50: '#b36464',
    500: '#8a1d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d2b;
$custom-light: #b36464;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d2b",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 352.294,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41901,
    "c": 0.14335,
    "h": 19.5
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#8A1D2B
secondary
#48BBAC
accent
#E8D340
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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