#8A1F23#8A1F23

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

Color values

HEX#8A1F23
RGBrgb(138, 31, 35)
HSLhsl(358, 63%, 33%)
HSVhsv(358, 78%, 54%)
CMYKcmyk(0%, 77.5%, 74.6%, 45.9%)
CIE-LABlab(30.66, 44.58, 25.54)
CIE-LCHlch(30.66, 51.38, 29.81°)
OKLaboklab(41.95% 0.1298 0.058)
OKLCHoklch(41.95% 0.142 24.1)
XYZxyz(11.2759, 6.5063, 2.2519)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F23 #1F8A86
analogous
#8A1F58 #8A1F23 #8A501F
triadic
#8A1F23 #238A1F #1F238A
tetradic
#8A1F23 #588A1F #1F8A86 #501F8A
square
#8A1F23 #588A1F #1F8A86 #501F8A
split-complementary
#8A1F23 #1F8A50 #1F588A
monochromatic
#26090A #581416 #8A1F23 #BC2A30 #D74C52

Accessibility & contrast

On white

9.13
#8A1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F23
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F23#FFFFFF#000000##FFFFFF
##8A1F231.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1f23;
/* rgb */ color: rgb(138, 31, 35);
/* oklch */ color: oklch(41.9% 0.142 24.1);
Tailwind
colors: {
  custom: {
    50: '#b4645e',
    500: '#8a1f23',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f23;
$custom-light: #b4645e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f23",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 357.757,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.1422,
    "h": 24.1
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#8A1F23
secondary
#4BBAB5
accent
#E6E041
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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