#8A1F29#8A1F29

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

Color values

HEX#8A1F29
RGBrgb(138, 31, 41)
HSLhsl(354, 63%, 33%)
HSVhsv(354, 78%, 54%)
CMYKcmyk(0%, 77.5%, 70.3%, 45.9%)
CIE-LABlab(30.75, 44.88, 21.84)
CIE-LCHlch(30.75, 49.91, 25.94°)
OKLaboklab(42.04% 0.1322 0.051)
OKLCHoklch(42.04% 0.142 21.1)
XYZxyz(11.3727, 6.5451, 2.7619)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F29 #1F8A80
analogous
#8A1F5E #8A1F29 #8A4B1F
triadic
#8A1F29 #298A1F #1F298A
tetradic
#8A1F29 #5E8A1F #1F8A80 #4B1F8A
square
#8A1F29 #5E8A1F #1F8A80 #4B1F8A
split-complementary
#8A1F29 #1F8A4B #1F5E8A
monochromatic
#26090B #58141A #8A1F29 #BC2A38 #D74C59

Accessibility & contrast

On white

9.10
#8A1F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F29
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F29#FFFFFF#000000##FFFFFF
##8A1F291.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A28
Deuteranopia (green-blind)
#595126
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f29;
/* rgb */ color: rgb(138, 31, 41);
/* oklch */ color: oklch(42.0% 0.142 21.1);
Tailwind
colors: {
  custom: {
    50: '#b36462',
    500: '#8a1f29',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f29;
$custom-light: #b36462;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f29",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 354.393,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.14166,
    "h": 21.1
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#8A1F29
secondary
#4BBAAF
accent
#E6D741
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1F29

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

Preview Lab → · Contrast checker → · Palette generator →

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