#8A242D#8A242D

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

Color values

HEX#8A242D
RGBrgb(138, 36, 45)
HSLhsl(355, 59%, 34%)
HSVhsv(355, 74%, 54%)
CMYKcmyk(0%, 73.9%, 67.4%, 45.9%)
CIE-LABlab(31.48, 43.28, 20.17)
CIE-LCHlch(31.48, 47.75, 24.98°)
OKLaboklab(42.61% 0.1279 0.0478)
OKLCHoklch(42.61% 0.137 20.5)
XYZxyz(11.5870, 6.8562, 3.1954)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A242D #248A81
analogous
#8A2460 #8A242D #8A4E24
triadic
#8A242D #2D8A24 #242D8A
tetradic
#8A242D #608A24 #248A81 #4E248A
square
#8A242D #608A24 #248A81 #4E248A
split-complementary
#8A242D #248A4E #24608A
monochromatic
#290B0D #59171D #8A242D #BB313D #D35661

Accessibility & contrast

On white

8.86
#8A242D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A242D
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A242D#FFFFFF#000000##FFFFFF
##8A242D1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2D
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#980128
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a242d;
/* rgb */ color: rgb(138, 36, 45);
/* oklch */ color: oklch(42.6% 0.137 20.5);
Tailwind
colors: {
  custom: {
    50: '#b36765',
    500: '#8a242d',
    950: '#000000',
  },
}
SCSS
$custom: #8a242d;
$custom-light: #b36765;
$custom-dark: #000000;
JSON
{
  "hex": "#8a242d",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 45
  },
  "hsl": {
    "h": 354.706,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42609,
    "c": 0.13658,
    "h": 20.5
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#8A242D
secondary
#53B7AE
accent
#E2D446
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A242D

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

Preview Lab → · Contrast checker → · Palette generator →

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