#8D1F27#8D1F27

#8D1F27 is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 22.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#8D1F27
RGBrgb(141, 31, 39)
HSLhsl(356, 64%, 34%)
HSVhsv(356, 78%, 55%)
CMYKcmyk(0%, 78%, 72.3%, 44.7%)
CIE-LABlab(31.33, 45.73, 23.96)
CIE-LCHlch(31.33, 51.63, 27.65°)
OKLaboklab(42.57% 0.134 0.0552)
OKLCHoklch(42.57% 0.145 22.4)
XYZxyz(11.8420, 6.7910, 2.6063)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F27 #1F8D85
analogous
#8D1F5E #8D1F27 #8D4E1F
triadic
#8D1F27 #278D1F #1F278D
tetradic
#8D1F27 #5E8D1F #1F8D85 #4E1F8D
square
#8D1F27 #5E8D1F #1F8D85 #4E1F8D
split-complementary
#8D1F27 #1F8D4E #1F5E8D
monochromatic
#29090B #5B1419 #8D1F27 #BF2A35 #D84E58

Accessibility & contrast

On white

8.91
#8D1F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8D1F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F27
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F27#FFFFFF#000000##FFFFFF
##8D1F271.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#9B0023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8d1f27;
/* rgb */ color: rgb(141, 31, 39);
/* oklch */ color: oklch(42.6% 0.145 22.4);
Tailwind
colors: {
  custom: {
    50: '#b66561',
    500: '#8d1f27',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f27;
$custom-light: #b66561;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f27",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 355.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42573,
    "c": 0.14492,
    "h": 22.4
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#8D1F27
secondary
#4DBBB3
accent
#E7DB41
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8D1F27

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

Preview Lab → · Contrast checker → · Palette generator →

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