#8F313A#8F313A

#8F313A is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.3% C 0.127 H 18.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8F313A
RGBrgb(143, 49, 58)
HSLhsl(354, 49%, 38%)
HSVhsv(354, 66%, 56%)
CMYKcmyk(0%, 65.7%, 59.4%, 43.9%)
CIE-LABlab(34.69, 40.39, 16.17)
CIE-LCHlch(34.69, 43.50, 21.82°)
OKLaboklab(45.26% 0.1206 0.0397)
OKLCHoklch(45.26% 0.127 18.2)
XYZxyz(13.1909, 8.3435, 4.9180)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F313A #318F86
analogous
#8F3169 #8F313A #8F5731
triadic
#8F313A #3A8F31 #313A8F
tetradic
#8F313A #698F31 #318F86 #57318F
square
#8F313A #698F31 #318F86 #57318F
split-complementary
#8F313A #318F57 #31698F
monochromatic
#341215 #612128 #8F313A #BD414C #CD6D76

Accessibility & contrast

On white

7.87
#8F313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F313A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F313A#FFFFFF#000000##FFFFFF
##8F313A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453A
Deuteranopia (green-blind)
#605938
Tritanopia (blue-blind)
#9D1E35
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f313a;
/* rgb */ color: rgb(143, 49, 58);
/* oklch */ color: oklch(45.3% 0.127 18.2);
Tailwind
colors: {
  custom: {
    50: '#b56e70',
    500: '#8f313a',
    950: '#000000',
  },
}
SCSS
$custom: #8f313a;
$custom-light: #b56e70;
$custom-dark: #000000;
JSON
{
  "hex": "#8f313a",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 354.255,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45262,
    "c": 0.127,
    "h": 18.2
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#8F313A
secondary
#67B5AD
accent
#D9CB4F
background
#FBF6F6
surface
#F7ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8F313A

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

Preview Lab → · Contrast checker → · Palette generator →

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