#8F313F#8F313F

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

Color values

HEX#8F313F
RGBrgb(143, 49, 63)
HSLhsl(351, 49%, 38%)
HSVhsv(351, 66%, 56%)
CMYKcmyk(0%, 65.7%, 55.9%, 43.9%)
CIE-LABlab(34.80, 40.79, 13.11)
CIE-LCHlch(34.80, 42.85, 17.82°)
OKLaboklab(45.38% 0.1227 0.0328)
OKLCHoklch(45.38% 0.127 15)
XYZxyz(13.3244, 8.3969, 5.6208)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F313F #318F81
analogous
#8F316E #8F313F #8F5231
triadic
#8F313F #3F8F31 #313F8F
tetradic
#8F313F #6E8F31 #318F81 #52318F
square
#8F313F #6E8F31 #318F81 #52318F
split-complementary
#8F313F #318F52 #316E8F
monochromatic
#341217 #61212B #8F313F #BD4153 #CD6D7C

Accessibility & contrast

On white

7.84
#8F313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F313F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F313F#FFFFFF#000000##FFFFFF
##8F313F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48463F
Deuteranopia (green-blind)
#60593D
Tritanopia (blue-blind)
#9C2037
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f313f;
/* rgb */ color: rgb(143, 49, 63);
/* oklch */ color: oklch(45.4% 0.127 15.0);
Tailwind
colors: {
  custom: {
    50: '#b56e73',
    500: '#8f313f',
    950: '#000000',
  },
}
SCSS
$custom: #8f313f;
$custom-light: #b56e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8f313f",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 351.064,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.12702,
    "h": 15
  },
  "luminance": 0.08395
}

Semantic roles & 50–950 ramp

primary
#8F313F
secondary
#67B5A9
accent
#D9C44F
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120808
muted
#817B7B

Preview Lab

Preview with #8F313F

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

Preview Lab → · Contrast checker → · Palette generator →

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