#8D1F31#8D1F31

#8D1F31 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.8% C 0.144 H 17.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8D1F31
RGBrgb(141, 31, 49)
HSLhsl(350, 64%, 34%)
HSVhsv(350, 78%, 55%)
CMYKcmyk(0%, 78%, 65.2%, 44.7%)
CIE-LABlab(31.50, 46.30, 17.72)
CIE-LCHlch(31.50, 49.58, 20.95°)
OKLaboklab(42.76% 0.138 0.0426)
OKLCHoklch(42.76% 0.144 17.2)
XYZxyz(12.0301, 6.8662, 3.5970)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F31 #1F8D7B
analogous
#8D1F68 #8D1F31 #8D441F
triadic
#8D1F31 #318D1F #1F318D
tetradic
#8D1F31 #688D1F #1F8D7B #441F8D
square
#8D1F31 #688D1F #1F8D7B #441F8D
split-complementary
#8D1F31 #1F8D44 #1F688D
monochromatic
#29090E #5B1420 #8D1F31 #BF2A42 #D84E65

Accessibility & contrast

On white

8.85
#8D1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8D1F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F31
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F31#FFFFFF#000000##FFFFFF
##8D1F311.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#5A522E
Tritanopia (blue-blind)
#9B0027
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f31;
/* rgb */ color: rgb(141, 31, 49);
/* oklch */ color: oklch(42.8% 0.144 17.2);
Tailwind
colors: {
  custom: {
    50: '#b56568',
    500: '#8d1f31',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f31;
$custom-light: #b56568;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f31",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 350.182,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.14447,
    "h": 17.2
  },
  "luminance": 0.06864
}

Semantic roles & 50–950 ramp

primary
#8D1F31
secondary
#4DBBA9
accent
#E7CC41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8D1F31

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

Preview Lab → · Contrast checker → · Palette generator →

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