#8D1831#8D1831

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

Color values

HEX#8D1831
RGBrgb(141, 24, 49)
HSLhsl(347, 71%, 32%)
HSVhsv(347, 83%, 55%)
CMYKcmyk(0%, 83%, 65.2%, 44.7%)
CIE-LABlab(30.73, 48.46, 16.73)
CIE-LCHlch(30.73, 51.26, 19.05°)
OKLaboklab(42.19% 0.145 0.0403)
OKLCHoklch(42.19% 0.151 15.5)
XYZxyz(11.8668, 6.5396, 3.5426)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1831 #188D74
analogous
#8D186C #8D1831 #8D3918
triadic
#8D1831 #318D18 #18318D
tetradic
#8D1831 #6C8D18 #188D74 #39188D
square
#8D1831 #6C8D18 #188D74 #39188D
split-complementary
#8D1831 #188D39 #186C8D
monochromatic
#24060D #590F1F #8D1831 #C12143 #DF4163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1831#FFFFFF#000000##FFFFFF
##8D18311.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)
#3B3931
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#9B0023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8d1831;
/* rgb */ color: rgb(141, 24, 49);
/* oklch */ color: oklch(42.2% 0.150 15.5);
Tailwind
colors: {
  custom: {
    50: '#b56368',
    500: '#8d1831',
    950: '#000000',
  },
}
SCSS
$custom: #8d1831;
$custom-light: #b56368;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1831",
  "rgb": {
    "r": 141,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 347.179,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42192,
    "c": 0.1505,
    "h": 15.5
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#8D1831
secondary
#42BFA4
accent
#EEC73A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8D1831

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

Preview Lab → · Contrast checker → · Palette generator →

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