#8A1E2D#8A1E2D

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

Color values

HEX#8A1E2D
RGBrgb(138, 30, 45)
HSLhsl(352, 64%, 33%)
HSVhsv(352, 78%, 54%)
CMYKcmyk(0%, 78.3%, 67.4%, 45.9%)
CIE-LABlab(30.70, 45.45, 19.18)
CIE-LCHlch(30.70, 49.33, 22.88°)
OKLaboklab(42.03% 0.1349 0.0456)
OKLCHoklch(42.03% 0.142 18.7)
XYZxyz(11.4204, 6.5230, 3.1398)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E2D #1E8A7B
analogous
#8A1E63 #8A1E2D #8A451E
triadic
#8A1E2D #2D8A1E #1E2D8A
tetradic
#8A1E2D #638A1E #1E8A7B #451E8A
square
#8A1E2D #638A1E #1E8A7B #451E8A
split-complementary
#8A1E2D #1E8A45 #1E638A
monochromatic
#25080C #58131D #8A1E2D #BC293D #D84B5E

Accessibility & contrast

On white

9.11
#8A1E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E2D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E2D#FFFFFF#000000##FFFFFF
##8A1E2D1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2D
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e2d;
/* rgb */ color: rgb(138, 30, 45);
/* oklch */ color: oklch(42.0% 0.142 18.7);
Tailwind
colors: {
  custom: {
    50: '#b36465',
    500: '#8a1e2d',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e2d;
$custom-light: #b36465;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e2d",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 351.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42027,
    "c": 0.14238,
    "h": 18.7
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#8A1E2D
secondary
#4ABAAB
accent
#E7D041
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #8A1E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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