#8A313F#8A313F

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

Color values

HEX#8A313F
RGBrgb(138, 49, 63)
HSLhsl(351, 48%, 37%)
HSVhsv(351, 64%, 54%)
CMYKcmyk(0%, 64.5%, 54.3%, 45.9%)
CIE-LABlab(33.90, 39.03, 11.74)
CIE-LCHlch(33.90, 40.76, 16.74°)
OKLaboklab(44.54% 0.1177 0.0296)
OKLCHoklch(44.54% 0.121 14.1)
XYZxyz(12.4778, 7.9604, 5.5811)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A313F #318A7C
analogous
#8A316C #8A313F #8A5031
triadic
#8A313F #3F8A31 #313F8A
tetradic
#8A313F #6C8A31 #318A7C #50318A
square
#8A313F #6C8A31 #318A7C #50318A
split-complementary
#8A313F #318A50 #316C8A
monochromatic
#301116 #5D212A #8A313F #B74154 #CA6B7A

Accessibility & contrast

On white

8.10
#8A313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A313F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A313F#FFFFFF#000000##FFFFFF
##8A313F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a313f;
/* rgb */ color: rgb(138, 49, 63);
/* oklch */ color: oklch(44.5% 0.121 14.1);
Tailwind
colors: {
  custom: {
    50: '#b16e73',
    500: '#8a313f',
    950: '#000000',
  },
}
SCSS
$custom: #8a313f;
$custom-light: #b16e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a313f",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 350.562,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44538,
    "c": 0.12132,
    "h": 14.1
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#8A313F
secondary
#65B2A6
accent
#D7C251
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A313F

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

Preview Lab → · Contrast checker → · Palette generator →

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