#8A3142#8A3142

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

Color values

HEX#8A3142
RGBrgb(138, 49, 66)
HSLhsl(349, 48%, 37%)
HSVhsv(349, 64%, 54%)
CMYKcmyk(0%, 64.5%, 52.2%, 45.9%)
CIE-LABlab(33.97, 39.30, 9.90)
CIE-LCHlch(33.97, 40.53, 14.14°)
OKLaboklab(44.62% 0.1189 0.0252)
OKLCHoklch(44.62% 0.122 12)
XYZxyz(12.5639, 7.9948, 6.0347)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3142 #318A79
analogous
#8A316F #8A3142 #8A4D31
triadic
#8A3142 #428A31 #31428A
tetradic
#8A3142 #6F8A31 #318A79 #4D318A
square
#8A3142 #6F8A31 #318A79 #4D318A
split-complementary
#8A3142 #318A4D #316F8A
monochromatic
#301117 #5D212C #8A3142 #B74158 #CA6B7D

Accessibility & contrast

On white

8.08
#8A3142 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A3142 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3142
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3142#FFFFFF#000000##FFFFFF
##8A31421.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454542
Deuteranopia (green-blind)
#5C5740
Tritanopia (blue-blind)
#962338
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a3142;
/* rgb */ color: rgb(138, 49, 66);
/* oklch */ color: oklch(44.6% 0.122 12.0);
Tailwind
colors: {
  custom: {
    50: '#b16e76',
    500: '#8a3142',
    950: '#000000',
  },
}
SCSS
$custom: #8a3142;
$custom-light: #b16e76;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3142",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 66
  },
  "hsl": {
    "h": 348.539,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44615,
    "c": 0.12156,
    "h": 12
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#8A3142
secondary
#65B2A3
accent
#D7BD51
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A3142

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

Preview Lab → · Contrast checker → · Palette generator →

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