#8A242A#8A242A

#8A242A is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.137 H 22.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#8A242A
RGBrgb(138, 36, 42)
HSLhsl(356, 59%, 34%)
HSVhsv(356, 74%, 54%)
CMYKcmyk(0%, 73.9%, 69.6%, 45.9%)
CIE-LABlab(31.43, 43.10, 22.03)
CIE-LCHlch(31.43, 48.40, 27.07°)
OKLaboklab(42.55% 0.1267 0.0516)
OKLCHoklch(42.55% 0.137 22.1)
XYZxyz(11.5313, 6.8339, 2.9019)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A242A #248A84
analogous
#8A245D #8A242A #8A5124
triadic
#8A242A #2A8A24 #242A8A
tetradic
#8A242A #5D8A24 #248A84 #51248A
square
#8A242A #5D8A24 #248A84 #51248A
split-complementary
#8A242A #248A51 #245D8A
monochromatic
#290B0C #59171B #8A242A #BB3139 #D3565D

Accessibility & contrast

On white

8.87
#8A242A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8A242A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A242A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A242A#FFFFFF#000000##FFFFFF
##8A242A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C29
Deuteranopia (green-blind)
#5A5227
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a242a;
/* rgb */ color: rgb(138, 36, 42);
/* oklch */ color: oklch(42.6% 0.137 22.1);
Tailwind
colors: {
  custom: {
    50: '#b36763',
    500: '#8a242a',
    950: '#000000',
  },
}
SCSS
$custom: #8a242a;
$custom-light: #b36763;
$custom-dark: #000000;
JSON
{
  "hex": "#8a242a",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 42
  },
  "hsl": {
    "h": 356.471,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42554,
    "c": 0.1368,
    "h": 22.1
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#8A242A
secondary
#53B7B1
accent
#E2D946
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A242A

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

Preview Lab → · Contrast checker → · Palette generator →

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