#8A1F24#8A1F24

#8A1F24 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.142 H 23.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#8A1F24
RGBrgb(138, 31, 36)
HSLhsl(357, 63%, 33%)
HSVhsv(357, 78%, 54%)
CMYKcmyk(0%, 77.5%, 73.9%, 45.9%)
CIE-LABlab(30.67, 44.63, 24.93)
CIE-LCHlch(30.67, 51.12, 29.19°)
OKLaboklab(41.96% 0.1302 0.0569)
OKLCHoklch(41.96% 0.142 23.6)
XYZxyz(11.2909, 6.5124, 2.3312)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F24 #1F8A85
analogous
#8A1F59 #8A1F24 #8A4F1F
triadic
#8A1F24 #248A1F #1F248A
tetradic
#8A1F24 #598A1F #1F8A85 #4F1F8A
square
#8A1F24 #598A1F #1F8A85 #4F1F8A
split-complementary
#8A1F24 #1F8A4F #1F598A
monochromatic
#26090A #581417 #8A1F24 #BC2A31 #D74C53

Accessibility & contrast

On white

9.12
#8A1F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F24
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F24#FFFFFF#000000##FFFFFF
##8A1F241.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A23
Deuteranopia (green-blind)
#5A5020
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f24;
/* rgb */ color: rgb(138, 31, 36);
/* oklch */ color: oklch(42.0% 0.142 23.6);
Tailwind
colors: {
  custom: {
    50: '#b4645e',
    500: '#8a1f24',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f24;
$custom-light: #b4645e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f24",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 357.196,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.14209,
    "h": 23.6
  },
  "luminance": 0.06511
}

Semantic roles & 50–950 ramp

primary
#8A1F24
secondary
#4BBAB4
accent
#E6DF41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1F24

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

Preview Lab → · Contrast checker → · Palette generator →

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