#8A1E23#8A1E23

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

Color values

HEX#8A1E23
RGBrgb(138, 30, 35)
HSLhsl(357, 64%, 33%)
HSVhsv(357, 78%, 54%)
CMYKcmyk(0%, 78.3%, 74.6%, 45.9%)
CIE-LABlab(30.53, 44.93, 25.40)
CIE-LCHlch(30.53, 51.61, 29.48°)
OKLaboklab(41.85% 0.1309 0.0577)
OKLCHoklch(41.85% 0.143 23.8)
XYZxyz(11.2502, 6.4549, 2.2433)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E23 #1E8A85
analogous
#8A1E59 #8A1E23 #8A4F1E
triadic
#8A1E23 #238A1E #1E238A
tetradic
#8A1E23 #598A1E #1E8A85 #4F1E8A
square
#8A1E23 #598A1E #1E8A85 #4F1E8A
split-complementary
#8A1E23 #1E8A4F #1E598A
monochromatic
#250809 #581316 #8A1E23 #BC2930 #D84B51

Accessibility & contrast

On white

9.17
#8A1E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E23
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E23#FFFFFF#000000##FFFFFF
##8A1E231.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1e23;
/* rgb */ color: rgb(138, 30, 35);
/* oklch */ color: oklch(41.9% 0.143 23.8);
Tailwind
colors: {
  custom: {
    50: '#b4645e',
    500: '#8a1e23',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e23;
$custom-light: #b4645e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e23",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 357.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.14307,
    "h": 23.8
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#8A1E23
secondary
#4ABAB5
accent
#E7E041
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A1E23

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

Preview Lab → · Contrast checker → · Palette generator →

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