#8A3140#8A3140

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

Color values

HEX#8A3140
RGBrgb(138, 49, 64)
HSLhsl(350, 48%, 37%)
HSVhsv(350, 64%, 54%)
CMYKcmyk(0%, 64.5%, 53.6%, 45.9%)
CIE-LABlab(33.92, 39.12, 11.13)
CIE-LCHlch(33.92, 40.67, 15.88°)
OKLaboklab(44.56% 0.1181 0.0281)
OKLCHoklch(44.56% 0.121 13.4)
XYZxyz(12.5060, 7.9716, 5.7296)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3140 #318A7B
analogous
#8A316D #8A3140 #8A4F31
triadic
#8A3140 #408A31 #31408A
tetradic
#8A3140 #6D8A31 #318A7B #4F318A
square
#8A3140 #6D8A31 #318A7B #4F318A
split-complementary
#8A3140 #318A4F #316D8A
monochromatic
#301116 #5D212B #8A3140 #B74155 #CA6B7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3140#FFFFFF#000000##FFFFFF
##8A31401.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)
#464440
Deuteranopia (green-blind)
#5C573E
Tritanopia (blue-blind)
#972237
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a3140;
/* rgb */ color: rgb(138, 49, 64);
/* oklch */ color: oklch(44.6% 0.121 13.4);
Tailwind
colors: {
  custom: {
    50: '#b16e74',
    500: '#8a3140',
    950: '#000000',
  },
}
SCSS
$custom: #8a3140;
$custom-light: #b16e74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3140",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 64
  },
  "hsl": {
    "h": 349.888,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.12138,
    "h": 13.4
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#8A3140
secondary
#65B2A5
accent
#D7C151
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A3140

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

Preview Lab → · Contrast checker → · Palette generator →

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