#8A3147#8A3147

#8A3147 is a dark, vivid red. Relative luminance 0.081; OKLCH L 44.8% C 0.122 H 8.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A3147
RGBrgb(138, 49, 71)
HSLhsl(345, 48%, 37%)
HSVhsv(345, 64%, 54%)
CMYKcmyk(0%, 64.5%, 48.6%, 45.9%)
CIE-LABlab(34.10, 39.79, 6.85)
CIE-LCHlch(34.10, 40.38, 9.77°)
OKLaboklab(44.75% 0.121 0.0178)
OKLCHoklch(44.75% 0.122 8.4)
XYZxyz(12.7178, 8.0564, 6.8453)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3147 #318A74
analogous
#8A3174 #8A3147 #8A4831
triadic
#8A3147 #478A31 #31478A
tetradic
#8A3147 #748A31 #318A74 #48318A
square
#8A3147 #748A31 #318A74 #48318A
split-complementary
#8A3147 #318A48 #31748A
monochromatic
#301119 #5D2130 #8A3147 #B7415E #CA6B83

Accessibility & contrast

On white

8.04
#8A3147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A3147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3147
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3147#FFFFFF#000000##FFFFFF
##8A31471.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444547
Deuteranopia (green-blind)
#5B5745
Tritanopia (blue-blind)
#962439
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a3147;
/* rgb */ color: rgb(138, 49, 71);
/* oklch */ color: oklch(44.8% 0.122 8.4);
Tailwind
colors: {
  custom: {
    50: '#b06e7a',
    500: '#8a3147',
    950: '#000000',
  },
}
SCSS
$custom: #8a3147;
$custom-light: #b06e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3147",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 345.169,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44752,
    "c": 0.12226,
    "h": 8.4
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#8A3147
secondary
#65B29F
accent
#D7B651
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #8A3147

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

Preview Lab → · Contrast checker → · Palette generator →

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