#8A313A#8A313A

#8A313A is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.4% C 0.121 H 17.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8A313A
RGBrgb(138, 49, 58)
HSLhsl(354, 48%, 37%)
HSVhsv(354, 64%, 54%)
CMYKcmyk(0%, 64.5%, 58%, 45.9%)
CIE-LABlab(33.79, 38.60, 14.81)
CIE-LCHlch(33.79, 41.35, 20.99°)
OKLaboklab(44.42% 0.1156 0.0366)
OKLCHoklch(44.42% 0.121 17.6)
XYZxyz(12.3444, 7.9070, 4.8783)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A313A #318A81
analogous
#8A3167 #8A313A #8A5531
triadic
#8A313A #3A8A31 #313A8A
tetradic
#8A313A #678A31 #318A81 #55318A
square
#8A313A #678A31 #318A81 #55318A
split-complementary
#8A313A #318A55 #31678A
monochromatic
#301114 #5D2127 #8A313A #B7414D #CA6B75

Accessibility & contrast

On white

8.14
#8A313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A313A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A313A#FFFFFF#000000##FFFFFF
##8A313A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47443A
Deuteranopia (green-blind)
#5D5638
Tritanopia (blue-blind)
#972135
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a313a;
/* rgb */ color: rgb(138, 49, 58);
/* oklch */ color: oklch(44.4% 0.121 17.6);
Tailwind
colors: {
  custom: {
    50: '#b16e70',
    500: '#8a313a',
    950: '#000000',
  },
}
SCSS
$custom: #8a313a;
$custom-light: #b16e70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a313a",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 353.933,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.12123,
    "h": 17.6
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

primary
#8A313A
secondary
#65B2AA
accent
#D7CA51
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A313A

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

Preview Lab → · Contrast checker → · Palette generator →

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