#8F313B#8F313B

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

Color values

HEX#8F313B
RGBrgb(143, 49, 59)
HSLhsl(354, 49%, 38%)
HSVhsv(354, 66%, 56%)
CMYKcmyk(0%, 65.7%, 58.7%, 43.9%)
CIE-LABlab(34.71, 40.46, 15.56)
CIE-LCHlch(34.71, 43.35, 21.03°)
OKLaboklab(45.29% 0.1211 0.0384)
OKLCHoklch(45.29% 0.127 17.6)
XYZxyz(13.2166, 8.3538, 5.0533)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F313B #318F85
analogous
#8F316A #8F313B #8F5631
triadic
#8F313B #3B8F31 #313B8F
tetradic
#8F313B #6A8F31 #318F85 #56318F
square
#8F313B #6A8F31 #318F85 #56318F
split-complementary
#8F313B #318F56 #316A8F
monochromatic
#341215 #612128 #8F313B #BD414E #CD6D78

Accessibility & contrast

On white

7.86
#8F313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F313B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F313B#FFFFFF#000000##FFFFFF
##8F313B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48453B
Deuteranopia (green-blind)
#605939
Tritanopia (blue-blind)
#9C1F35
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f313b;
/* rgb */ color: rgb(143, 49, 59);
/* oklch */ color: oklch(45.3% 0.127 17.6);
Tailwind
colors: {
  custom: {
    50: '#b56e70',
    500: '#8f313b',
    950: '#000000',
  },
}
SCSS
$custom: #8f313b;
$custom-light: #b56e70;
$custom-dark: #000000;
JSON
{
  "hex": "#8f313b",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 353.617,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.12698,
    "h": 17.6
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#8F313B
secondary
#67B5AC
accent
#D9CA4F
background
#FBF6F6
surface
#F7ECEC
border
#D0C7C7
text
#120707
muted
#817A7A

Preview Lab

Preview with #8F313B

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

Preview Lab → · Contrast checker → · Palette generator →

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