#8A3240#8A3240

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

Color values

HEX#8A3240
RGBrgb(138, 50, 64)
HSLhsl(350, 47%, 37%)
HSVhsv(350, 64%, 54%)
CMYKcmyk(0%, 63.8%, 53.6%, 45.9%)
CIE-LABlab(34.10, 38.65, 11.37)
CIE-LCHlch(34.10, 40.29, 16.39°)
OKLaboklab(44.7% 0.1166 0.0287)
OKLCHoklch(44.7% 0.12 13.8)
XYZxyz(12.5483, 8.0562, 5.7437)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3240 #328A7C
analogous
#8A326C #8A3240 #8A5032
triadic
#8A3240 #408A32 #32408A
tetradic
#8A3240 #6C8A32 #328A7C #50328A
square
#8A3240 #6C8A32 #328A7C #50328A
split-complementary
#8A3240 #328A50 #326C8A
monochromatic
#301116 #5D222B #8A3240 #B74255 #CA6C7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3240#FFFFFF#000000##FFFFFF
##8A32401.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)
#464540
Deuteranopia (green-blind)
#5D573E
Tritanopia (blue-blind)
#972437
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a3240;
/* rgb */ color: rgb(138, 50, 64);
/* oklch */ color: oklch(44.7% 0.120 13.8);
Tailwind
colors: {
  custom: {
    50: '#b16e74',
    500: '#8a3240',
    950: '#000000',
  },
}
SCSS
$custom: #8a3240;
$custom-light: #b16e74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3240",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 64
  },
  "hsl": {
    "h": 350.455,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.12006,
    "h": 13.8
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#8A3240
secondary
#66B2A6
accent
#D6C151
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#110708
muted
#807A7B

Preview Lab

Preview with #8A3240

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

Preview Lab → · Contrast checker → · Palette generator →

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