#9F311F#9F311F

#9F311F is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.6% C 0.149 H 31.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9F311F
RGBrgb(159, 49, 31)
HSLhsl(8, 67%, 37%)
HSVhsv(8, 81%, 62%)
CMYKcmyk(0%, 69.2%, 80.5%, 37.6%)
CIE-LABlab(37.24, 44.53, 36.20)
CIE-LCHlch(37.24, 57.39, 39.11°)
OKLaboklab(47.6% 0.1263 0.0786)
OKLCHoklch(47.6% 0.149 31.9)
XYZxyz(15.6455, 9.6688, 2.3385)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F311F #1F8D9F
analogous
#9F1F4D #9F311F #9F711F
triadic
#9F311F #1F9F31 #311F9F
tetradic
#9F311F #4D9F1F #1F8D9F #711F9F
square
#9F311F #4D9F1F #1F8D9F #711F9F
split-complementary
#9F311F #1F9F71 #1F4D9F
monochromatic
#39110B #6C2115 #9F311F #D24129 #DF6C5A

Accessibility & contrast

On white

7.16
#9F311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F311F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F311F#FFFFFF#000000##FFFFFF
##9F311F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51481C
Deuteranopia (green-blind)
#6C611A
Tritanopia (blue-blind)
#AF0B2E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f311f;
/* rgb */ color: rgb(159, 49, 31);
/* oklch */ color: oklch(47.6% 0.149 31.9);
Tailwind
colors: {
  custom: {
    50: '#c4705c',
    500: '#9f311f',
    950: '#000000',
  },
}
SCSS
$custom: #9f311f;
$custom-light: #c4705c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f311f",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 8.438,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47599,
    "c": 0.14873,
    "h": 31.9
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#9F311F
secondary
#57B4C3
accent
#D2EA3E
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F311F

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

Preview Lab → · Contrast checker → · Palette generator →

#9F311F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva