#8A242B#8A242B

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

Color values

HEX#8A242B
RGBrgb(138, 36, 43)
HSLhsl(356, 59%, 34%)
HSVhsv(356, 74%, 54%)
CMYKcmyk(0%, 73.9%, 68.8%, 45.9%)
CIE-LABlab(31.44, 43.16, 21.41)
CIE-LCHlch(31.44, 48.18, 26.38°)
OKLaboklab(42.57% 0.1271 0.0503)
OKLCHoklch(42.57% 0.137 21.6)
XYZxyz(11.5494, 6.8412, 2.9974)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A242B #248A83
analogous
#8A245E #8A242B #8A5024
triadic
#8A242B #2B8A24 #242B8A
tetradic
#8A242B #5E8A24 #248A83 #50248A
square
#8A242B #5E8A24 #248A83 #50248A
split-complementary
#8A242B #248A50 #245E8A
monochromatic
#290B0D #59171C #8A242B #BB313A #D3565E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A242B#FFFFFF#000000##FFFFFF
##8A242B1.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)
#413C2A
Deuteranopia (green-blind)
#5A5228
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a242b;
/* rgb */ color: rgb(138, 36, 43);
/* oklch */ color: oklch(42.6% 0.137 21.6);
Tailwind
colors: {
  custom: {
    50: '#b36764',
    500: '#8a242b',
    950: '#000000',
  },
}
SCSS
$custom: #8a242b;
$custom-light: #b36764;
$custom-dark: #000000;
JSON
{
  "hex": "#8a242b",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 43
  },
  "hsl": {
    "h": 355.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42571,
    "c": 0.13672,
    "h": 21.6
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#8A242B
secondary
#53B7B0
accent
#E2D746
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A242B

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

Preview Lab → · Contrast checker → · Palette generator →

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