#8A313B#8A313B

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

Color values

HEX#8A313B
RGBrgb(138, 49, 59)
HSLhsl(353, 48%, 37%)
HSVhsv(353, 64%, 54%)
CMYKcmyk(0%, 64.5%, 57.2%, 45.9%)
CIE-LABlab(33.81, 38.69, 14.19)
CIE-LCHlch(33.81, 41.21, 20.15°)
OKLaboklab(44.44% 0.116 0.0352)
OKLCHoklch(44.44% 0.121 16.9)
XYZxyz(12.3700, 7.9173, 5.0136)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A313B #318A80
analogous
#8A3168 #8A313B #8A5431
triadic
#8A313B #3B8A31 #313B8A
tetradic
#8A313B #688A31 #318A80 #54318A
square
#8A313B #688A31 #318A80 #54318A
split-complementary
#8A313B #318A54 #31688A
monochromatic
#301114 #5D2128 #8A313B #B7414E #CA6B76

Accessibility & contrast

On white

8.13
#8A313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A313B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A313B#FFFFFF#000000##FFFFFF
##8A313B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46443B
Deuteranopia (green-blind)
#5D5639
Tritanopia (blue-blind)
#972135
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a313b;
/* rgb */ color: rgb(138, 49, 59);
/* oklch */ color: oklch(44.4% 0.121 16.9);
Tailwind
colors: {
  custom: {
    50: '#b16e70',
    500: '#8a313b',
    950: '#000000',
  },
}
SCSS
$custom: #8a313b;
$custom-light: #b16e70;
$custom-dark: #000000;
JSON
{
  "hex": "#8a313b",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 353.258,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44441,
    "c": 0.12122,
    "h": 16.9
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#8A313B
secondary
#65B2A9
accent
#D7C851
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A313B

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

Preview Lab → · Contrast checker → · Palette generator →

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