#8D313F#8D313F

#8D313F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.0% C 0.125 H 14.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8D313F
RGBrgb(141, 49, 63)
HSLhsl(351, 48%, 37%)
HSVhsv(351, 65%, 55%)
CMYKcmyk(0%, 65.2%, 55.3%, 44.7%)
CIE-LABlab(34.44, 40.09, 12.56)
CIE-LCHlch(34.44, 42.01, 17.40°)
OKLaboklab(45.04% 0.1207 0.0315)
OKLCHoklch(45.04% 0.125 14.6)
XYZxyz(12.9811, 8.2199, 5.6047)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D313F #318D7F
analogous
#8D316D #8D313F #8D5131
triadic
#8D313F #3F8D31 #313F8D
tetradic
#8D313F #6D8D31 #318D7F #51318D
square
#8D313F #6D8D31 #318D7F #51318D
split-complementary
#8D313F #318D51 #316D8D
monochromatic
#321116 #60212B #8D313F #BA4153 #CC6C7B

Accessibility & contrast

On white

7.94
#8D313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D313F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D313F#FFFFFF#000000##FFFFFF
##8D313F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47453F
Deuteranopia (green-blind)
#5E583D
Tritanopia (blue-blind)
#9A2137
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d313f;
/* rgb */ color: rgb(141, 49, 63);
/* oklch */ color: oklch(45.0% 0.125 14.6);
Tailwind
colors: {
  custom: {
    50: '#b36e73',
    500: '#8d313f',
    950: '#000000',
  },
}
SCSS
$custom: #8d313f;
$custom-light: #b36e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8d313f",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 350.87,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45041,
    "c": 0.12475,
    "h": 14.6
  },
  "luminance": 0.08218
}

Semantic roles & 50–950 ramp

primary
#8D313F
secondary
#66B4A8
accent
#D8C350
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8D313F

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

Preview Lab → · Contrast checker → · Palette generator →

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