#8D1F3A#8D1F3A

#8D1F3A is a dark, vivid red. Relative luminance 0.069; OKLCH L 43.0% C 0.145 H 12.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8D1F3A
RGBrgb(141, 31, 58)
HSLhsl(345, 64%, 34%)
HSVhsv(345, 78%, 55%)
CMYKcmyk(0%, 78%, 58.9%, 44.7%)
CIE-LABlab(31.69, 46.92, 12.08)
CIE-LCHlch(31.69, 48.45, 14.43°)
OKLaboklab(42.96% 0.1418 0.0301)
OKLCHoklch(42.96% 0.145 12)
XYZxyz(12.2394, 6.9500, 4.6992)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F3A #1F8D72
analogous
#8D1F71 #8D1F3A #8D3B1F
triadic
#8D1F3A #3A8D1F #1F3A8D
tetradic
#8D1F3A #718D1F #1F8D72 #3B1F8D
square
#8D1F3A #718D1F #1F8D72 #3B1F8D
split-complementary
#8D1F3A #1F8D3B #1F718D
monochromatic
#290911 #5B1425 #8D1F3A #BF2A4F #D84E70

Accessibility & contrast

On white

8.79
#8D1F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8D1F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F3A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F3A#FFFFFF#000000##FFFFFF
##8D1F3A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C3A
Deuteranopia (green-blind)
#595337
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8d1f3a;
/* rgb */ color: rgb(141, 31, 58);
/* oklch */ color: oklch(43.0% 0.145 12.0);
Tailwind
colors: {
  custom: {
    50: '#b4656f',
    500: '#8d1f3a',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f3a;
$custom-light: #b4656f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f3a",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 345.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42963,
    "c": 0.14492,
    "h": 12
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#8D1F3A
secondary
#4DBBA0
accent
#E7BE41
background
#FBF6F6
surface
#F7EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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