#8A313D#8A313D

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

Color values

HEX#8A313D
RGBrgb(138, 49, 61)
HSLhsl(352, 48%, 37%)
HSVhsv(352, 64%, 54%)
CMYKcmyk(0%, 64.5%, 55.8%, 45.9%)
CIE-LABlab(33.85, 38.86, 12.97)
CIE-LCHlch(33.85, 40.96, 18.46°)
OKLaboklab(44.49% 0.1168 0.0324)
OKLCHoklch(44.49% 0.121 15.5)
XYZxyz(12.4229, 7.9384, 5.2921)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A313D #318A7E
analogous
#8A316A #8A313D #8A5231
triadic
#8A313D #3D8A31 #313D8A
tetradic
#8A313D #6A8A31 #318A7E #52318A
square
#8A313D #6A8A31 #318A7E #52318A
split-complementary
#8A313D #318A52 #316A8A
monochromatic
#301115 #5D2129 #8A313D #B74151 #CA6B78

Accessibility & contrast

On white

8.12
#8A313D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A313D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A313D#FFFFFF#000000##FFFFFF
##8A313D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46443D
Deuteranopia (green-blind)
#5D563B
Tritanopia (blue-blind)
#972136
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a313d;
/* rgb */ color: rgb(138, 49, 61);
/* oklch */ color: oklch(44.5% 0.121 15.5);
Tailwind
colors: {
  custom: {
    50: '#b16e72',
    500: '#8a313d',
    950: '#000000',
  },
}
SCSS
$custom: #8a313d;
$custom-light: #b16e72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a313d",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 351.91,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.12124,
    "h": 15.5
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#8A313D
secondary
#65B2A8
accent
#D7C551
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#110707
muted
#807A7A

Preview Lab

Preview with #8A313D

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

Preview Lab → · Contrast checker → · Palette generator →

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