#8A1D23#8A1D23

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

Color values

HEX#8A1D23
RGBrgb(138, 29, 35)
HSLhsl(357, 65%, 33%)
HSVhsv(357, 79%, 54%)
CMYKcmyk(0%, 79%, 74.6%, 45.9%)
CIE-LABlab(30.41, 45.26, 25.26)
CIE-LCHlch(30.41, 51.83, 29.17°)
OKLaboklab(41.77% 0.132 0.0574)
OKLCHoklch(41.77% 0.144 23.5)
XYZxyz(11.2253, 6.4051, 2.2350)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D23 #1D8A84
analogous
#8A1D5A #8A1D23 #8A4D1D
triadic
#8A1D23 #238A1D #1D238A
tetradic
#8A1D23 #5A8A1D #1D8A84 #4D1D8A
square
#8A1D23 #5A8A1D #1D8A84 #4D1D8A
split-complementary
#8A1D23 #1D8A4D #1D5A8A
monochromatic
#250809 #571216 #8A1D23 #BD2830 #D94951

Accessibility & contrast

On white

9.21
#8A1D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D23
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D23#FFFFFF#000000##FFFFFF
##8A1D231.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3922
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d23;
/* rgb */ color: rgb(138, 29, 35);
/* oklch */ color: oklch(41.8% 0.144 23.5);
Tailwind
colors: {
  custom: {
    50: '#b4645e',
    500: '#8a1d23',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d23;
$custom-light: #b4645e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d23",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 356.697,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.14393,
    "h": 23.5
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#8A1D23
secondary
#48BBB4
accent
#E8DF40
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1D23

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

Preview Lab → · Contrast checker → · Palette generator →

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