#8A1D28#8A1D28

#8A1D28 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 21.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#8A1D28
RGBrgb(138, 29, 40)
HSLhsl(354, 65%, 33%)
HSVhsv(354, 79%, 54%)
CMYKcmyk(0%, 79%, 71%, 45.9%)
CIE-LABlab(30.49, 45.51, 22.16)
CIE-LCHlch(30.49, 50.62, 25.97°)
OKLaboklab(41.85% 0.1339 0.0516)
OKLCHoklch(41.85% 0.144 21.1)
XYZxyz(11.3049, 6.4369, 2.6543)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D28 #1D8A7F
analogous
#8A1D5E #8A1D28 #8A481D
triadic
#8A1D28 #288A1D #1D288A
tetradic
#8A1D28 #5E8A1D #1D8A7F #481D8A
square
#8A1D28 #5E8A1D #1D8A7F #481D8A
split-complementary
#8A1D28 #1D8A48 #1D5E8A
monochromatic
#25080B #571219 #8A1D28 #BD2837 #D94957

Accessibility & contrast

On white

9.18
#8A1D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D28
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D28#FFFFFF#000000##FFFFFF
##8A1D281.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#595025
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d28;
/* rgb */ color: rgb(138, 29, 40);
/* oklch */ color: oklch(41.8% 0.144 21.1);
Tailwind
colors: {
  custom: {
    50: '#b46461',
    500: '#8a1d28',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d28;
$custom-light: #b46461;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d28",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 353.945,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41846,
    "c": 0.14351,
    "h": 21.1
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#8A1D28
secondary
#48BBAF
accent
#E8D740
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1D28

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

Preview Lab → · Contrast checker → · Palette generator →

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