#8A1D31#8A1D31

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

Color values

HEX#8A1D31
RGBrgb(138, 29, 49)
HSLhsl(349, 65%, 33%)
HSVhsv(349, 79%, 54%)
CMYKcmyk(0%, 79%, 64.5%, 45.9%)
CIE-LABlab(30.65, 46.04, 16.51)
CIE-LCHlch(30.65, 48.91, 19.72°)
OKLaboklab(42.02% 0.1376 0.0399)
OKLCHoklch(42.02% 0.143 16.2)
XYZxyz(11.4762, 6.5055, 3.5565)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D31 #1D8A76
analogous
#8A1D67 #8A1D31 #8A401D
triadic
#8A1D31 #318A1D #1D318A
tetradic
#8A1D31 #678A1D #1D8A76 #401D8A
square
#8A1D31 #678A1D #1D8A76 #401D8A
split-complementary
#8A1D31 #1D8A40 #1D678A
monochromatic
#25080D #57121F #8A1D31 #BD2843 #D94963

Accessibility & contrast

On white

9.13
#8A1D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D31
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D31#FFFFFF#000000##FFFFFF
##8A1D311.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3A31
Deuteranopia (green-blind)
#58502E
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d31;
/* rgb */ color: rgb(138, 29, 49);
/* oklch */ color: oklch(42.0% 0.143 16.2);
Tailwind
colors: {
  custom: {
    50: '#b36468',
    500: '#8a1d31',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d31;
$custom-light: #b36468;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d31",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 49
  },
  "hsl": {
    "h": 348.991,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42021,
    "c": 0.14329,
    "h": 16.2
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#8A1D31
secondary
#48BBA6
accent
#E8C940
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1D31

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

Preview Lab → · Contrast checker → · Palette generator →

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