#8D1F37#8D1F37

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

Color values

HEX#8D1F37
RGBrgb(141, 31, 55)
HSLhsl(347, 64%, 34%)
HSVhsv(347, 78%, 55%)
CMYKcmyk(0%, 78%, 61%, 44.7%)
CIE-LABlab(31.62, 46.70, 13.96)
CIE-LCHlch(31.62, 48.74, 16.64°)
OKLaboklab(42.89% 0.1405 0.0344)
OKLCHoklch(42.89% 0.145 13.7)
XYZxyz(12.1653, 6.9203, 4.3089)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F37 #1F8D75
analogous
#8D1F6E #8D1F37 #8D3E1F
triadic
#8D1F37 #378D1F #1F378D
tetradic
#8D1F37 #6E8D1F #1F8D75 #3E1F8D
square
#8D1F37 #6E8D1F #1F8D75 #3E1F8D
split-complementary
#8D1F37 #1F8D3E #1F6E8D
monochromatic
#290910 #5B1423 #8D1F37 #BF2A4B #D84E6C

Accessibility & contrast

On white

8.81
#8D1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8D1F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F37
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F37#FFFFFF#000000##FFFFFF
##8D1F371.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C37
Deuteranopia (green-blind)
#595334
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f37;
/* rgb */ color: rgb(141, 31, 55);
/* oklch */ color: oklch(42.9% 0.145 13.7);
Tailwind
colors: {
  custom: {
    50: '#b5656d',
    500: '#8d1f37',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f37;
$custom-light: #b5656d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f37",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 346.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42891,
    "c": 0.14467,
    "h": 13.7
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#8D1F37
secondary
#4DBBA3
accent
#E7C341
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8D1F37

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

Preview Lab → · Contrast checker → · Palette generator →

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