#8A313C#8A313C

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

Color values

HEX#8A313C
RGBrgb(138, 49, 60)
HSLhsl(353, 48%, 37%)
HSVhsv(353, 64%, 54%)
CMYKcmyk(0%, 64.5%, 56.5%, 45.9%)
CIE-LABlab(33.83, 38.77, 13.58)
CIE-LCHlch(33.83, 41.08, 19.30°)
OKLaboklab(44.46% 0.1164 0.0338)
OKLCHoklch(44.46% 0.121 16.2)
XYZxyz(12.3962, 7.9277, 5.1515)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A313C #318A7F
analogous
#8A3169 #8A313C #8A5331
triadic
#8A313C #3C8A31 #313C8A
tetradic
#8A313C #698A31 #318A7F #53318A
square
#8A313C #698A31 #318A7F #53318A
split-complementary
#8A313C #318A53 #31698A
monochromatic
#301115 #5D2128 #8A313C #B74150 #CA6B77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A313C#FFFFFF#000000##FFFFFF
##8A313C1.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)
#46443C
Deuteranopia (green-blind)
#5D563A
Tritanopia (blue-blind)
#972135
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a313c;
/* rgb */ color: rgb(138, 49, 60);
/* oklch */ color: oklch(44.5% 0.121 16.2);
Tailwind
colors: {
  custom: {
    50: '#b16e71',
    500: '#8a313c',
    950: '#000000',
  },
}
SCSS
$custom: #8a313c;
$custom-light: #b16e71;
$custom-dark: #000000;
JSON
{
  "hex": "#8a313c",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 352.584,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44464,
    "c": 0.12122,
    "h": 16.2
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#8A313C
secondary
#65B2A8
accent
#D7C751
background
#FBF6F6
surface
#F6ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8A313C

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

Preview Lab → · Contrast checker → · Palette generator →

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