#8A1F20#8A1F20

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

Color values

HEX#8A1F20
RGBrgb(138, 31, 32)
HSLhsl(359, 63%, 33%)
HSVhsv(359, 78%, 54%)
CMYKcmyk(0%, 77.5%, 76.8%, 45.9%)
CIE-LABlab(30.61, 44.45, 27.36)
CIE-LCHlch(30.61, 52.19, 31.62°)
OKLaboklab(41.9% 0.1287 0.0613)
OKLCHoklch(41.9% 0.143 25.5)
XYZxyz(11.2332, 6.4893, 2.0273)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F20 #1F8A89
analogous
#8A1F55 #8A1F20 #8A531F
triadic
#8A1F20 #208A1F #1F208A
tetradic
#8A1F20 #558A1F #1F8A89 #531F8A
square
#8A1F20 #558A1F #1F8A89 #531F8A
split-complementary
#8A1F20 #1F8A53 #1F558A
monochromatic
#260909 #581414 #8A1F20 #BC2A2C #D74C4E

Accessibility & contrast

On white

9.14
#8A1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1F20
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F20#FFFFFF#000000##FFFFFF
##8A1F201.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391F
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f20;
/* rgb */ color: rgb(138, 31, 32);
/* oklch */ color: oklch(41.9% 0.143 25.5);
Tailwind
colors: {
  custom: {
    50: '#b4645b',
    500: '#8a1f20',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f20;
$custom-light: #b4645b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f20",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.439,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41902,
    "c": 0.14255,
    "h": 25.5
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#8A1F20
secondary
#4BBAB9
accent
#E6E541
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8A1F20

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

Preview Lab → · Contrast checker → · Palette generator →

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