#8A2427#8A2427

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

Color values

HEX#8A2427
RGBrgb(138, 36, 39)
HSLhsl(358, 59%, 34%)
HSVhsv(358, 74%, 54%)
CMYKcmyk(0%, 73.9%, 71.7%, 45.9%)
CIE-LABlab(31.38, 42.94, 23.87)
CIE-LCHlch(31.38, 49.13, 29.07°)
OKLaboklab(42.5% 0.1255 0.0552)
OKLCHoklch(42.5% 0.137 23.7)
XYZxyz(11.4796, 6.8132, 2.6297)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2427 #248A87
analogous
#8A245A #8A2427 #8A5424
triadic
#8A2427 #278A24 #24278A
tetradic
#8A2427 #5A8A24 #248A87 #54248A
square
#8A2427 #5A8A24 #248A87 #54248A
split-complementary
#8A2427 #248A54 #245A8A
monochromatic
#290B0C #591719 #8A2427 #BB3135 #D35659

Accessibility & contrast

On white

8.89
#8A2427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A2427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2427
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2427#FFFFFF#000000##FFFFFF
##8A24271.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#5B5224
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a2427;
/* rgb */ color: rgb(138, 36, 39);
/* oklch */ color: oklch(42.5% 0.137 23.7);
Tailwind
colors: {
  custom: {
    50: '#b36761',
    500: '#8a2427',
    950: '#000000',
  },
}
SCSS
$custom: #8a2427;
$custom-light: #b36761;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2427",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 39
  },
  "hsl": {
    "h": 358.235,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42503,
    "c": 0.13711,
    "h": 23.7
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#8A2427
secondary
#53B7B4
accent
#E2DD46
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A2427

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

Preview Lab → · Contrast checker → · Palette generator →

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