#8A1F28#8A1F28

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

Color values

HEX#8A1F28
RGBrgb(138, 31, 40)
HSLhsl(355, 63%, 33%)
HSVhsv(355, 78%, 54%)
CMYKcmyk(0%, 77.5%, 71%, 45.9%)
CIE-LABlab(30.73, 44.83, 22.46)
CIE-LCHlch(30.73, 50.14, 26.61°)
OKLaboklab(42.03% 0.1318 0.0522)
OKLCHoklch(42.03% 0.142 21.6)
XYZxyz(11.3555, 6.5382, 2.6711)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F28 #1F8A81
analogous
#8A1F5D #8A1F28 #8A4B1F
triadic
#8A1F28 #288A1F #1F288A
tetradic
#8A1F28 #5D8A1F #1F8A81 #4B1F8A
square
#8A1F28 #5D8A1F #1F8A81 #4B1F8A
split-complementary
#8A1F28 #1F8A4B #1F5D8A
monochromatic
#26090B #58141A #8A1F28 #BC2A36 #D74C58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1F28#FFFFFF#000000##FFFFFF
##8A1F281.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)
#3E3A27
Deuteranopia (green-blind)
#595125
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1f28;
/* rgb */ color: rgb(138, 31, 40);
/* oklch */ color: oklch(42.0% 0.142 21.6);
Tailwind
colors: {
  custom: {
    50: '#b36461',
    500: '#8a1f28',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f28;
$custom-light: #b36461;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f28",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.953,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.14174,
    "h": 21.6
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#8A1F28
secondary
#4BBAB0
accent
#E6D841
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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