#8A313E#8A313E

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

Color values

HEX#8A313E
RGBrgb(138, 49, 62)
HSLhsl(351, 48%, 37%)
HSVhsv(351, 64%, 54%)
CMYKcmyk(0%, 64.5%, 55.1%, 45.9%)
CIE-LABlab(33.88, 38.94, 12.35)
CIE-LCHlch(33.88, 40.86, 17.60°)
OKLaboklab(44.51% 0.1172 0.031)
OKLCHoklch(44.51% 0.121 14.8)
XYZxyz(12.4501, 7.9493, 5.4352)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A313E #318A7D
analogous
#8A316B #8A313E #8A5131
triadic
#8A313E #3E8A31 #313E8A
tetradic
#8A313E #6B8A31 #318A7D #51318A
square
#8A313E #6B8A31 #318A7D #51318A
split-complementary
#8A313E #318A51 #316B8A
monochromatic
#301115 #5D212A #8A313E #B74152 #CA6B79

Accessibility & contrast

On white

8.11
#8A313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A313E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A313E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A313E#FFFFFF#000000##FFFFFF
##8A313E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46443E
Deuteranopia (green-blind)
#5D563C
Tritanopia (blue-blind)
#972236
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a313e;
/* rgb */ color: rgb(138, 49, 62);
/* oklch */ color: oklch(44.5% 0.121 14.8);
Tailwind
colors: {
  custom: {
    50: '#b16e73',
    500: '#8a313e',
    950: '#000000',
  },
}
SCSS
$custom: #8a313e;
$custom-light: #b16e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a313e",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 351.236,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44513,
    "c": 0.12127,
    "h": 14.8
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#8A313E
secondary
#65B2A7
accent
#D7C451
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A313E

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

Preview Lab → · Contrast checker → · Palette generator →

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