#8A1F25#8A1F25

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

Color values

HEX#8A1F25
RGBrgb(138, 31, 37)
HSLhsl(357, 63%, 33%)
HSVhsv(357, 78%, 54%)
CMYKcmyk(0%, 77.5%, 73.2%, 45.9%)
CIE-LABlab(30.68, 44.68, 24.32)
CIE-LCHlch(30.68, 50.86, 28.56°)
OKLaboklab(41.98% 0.1306 0.0558)
OKLCHoklch(41.98% 0.142 23.1)
XYZxyz(11.3064, 6.5186, 2.4128)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F25 #1F8A84
analogous
#8A1F5A #8A1F25 #8A4F1F
triadic
#8A1F25 #258A1F #1F258A
tetradic
#8A1F25 #5A8A1F #1F8A84 #4F1F8A
square
#8A1F25 #5A8A1F #1F8A84 #4F1F8A
split-complementary
#8A1F25 #1F8A4F #1F5A8A
monochromatic
#26090A #581418 #8A1F25 #BC2A32 #D74C54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F25#FFFFFF#000000##FFFFFF
##8A1F251.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)
#3F3A24
Deuteranopia (green-blind)
#595121
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f25;
/* rgb */ color: rgb(138, 31, 37);
/* oklch */ color: oklch(42.0% 0.142 23.1);
Tailwind
colors: {
  custom: {
    50: '#b4645f',
    500: '#8a1f25',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f25;
$custom-light: #b4645f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f25",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 37
  },
  "hsl": {
    "h": 356.636,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41977,
    "c": 0.14199,
    "h": 23.1
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#8A1F25
secondary
#4BBAB3
accent
#E6DD41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1F25

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

Preview Lab → · Contrast checker → · Palette generator →

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