#8A3340#8A3340

#8A3340 is a dark, moderate red. Relative luminance 0.081; OKLCH L 44.8% C 0.119 H 14.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#8A3340
RGBrgb(138, 51, 64)
HSLhsl(351, 46%, 37%)
HSVhsv(351, 63%, 54%)
CMYKcmyk(0%, 63%, 53.6%, 45.9%)
CIE-LABlab(34.28, 38.17, 11.62)
CIE-LCHlch(34.28, 39.90, 16.93°)
OKLaboklab(44.83% 0.1151 0.0293)
OKLCHoklch(44.83% 0.119 14.3)
XYZxyz(12.5915, 8.1427, 5.7581)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3340 #338A7D
analogous
#8A336C #8A3340 #8A5133
triadic
#8A3340 #408A33 #33408A
tetradic
#8A3340 #6C8A33 #338A7D #51338A
square
#8A3340 #6C8A33 #338A7D #51338A
split-complementary
#8A3340 #338A51 #336C8A
monochromatic
#311217 #5D222B #8A3340 #B74455 #C96E7C

Accessibility & contrast

On white

7.99
#8A3340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A3340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3340
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3340#FFFFFF#000000##FFFFFF
##8A33401.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474540
Deuteranopia (green-blind)
#5D573E
Tritanopia (blue-blind)
#972538
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a3340;
/* rgb */ color: rgb(138, 51, 64);
/* oklch */ color: oklch(44.8% 0.119 14.3);
Tailwind
colors: {
  custom: {
    50: '#b16f74',
    500: '#8a3340',
    950: '#000000',
  },
}
SCSS
$custom: #8a3340;
$custom-light: #b16f74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3340",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 64
  },
  "hsl": {
    "h": 351.034,
    "s": 46.032,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44828,
    "c": 0.11874,
    "h": 14.3
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#8A3340
secondary
#67B1A6
accent
#D6C252
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110808
muted
#807B7B

Preview Lab

Preview with #8A3340

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

Preview Lab → · Contrast checker → · Palette generator →

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