#9F311A#9F311A

#9F311A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.150 H 33.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F311A
RGBrgb(159, 49, 26)
HSLhsl(10, 72%, 36%)
HSVhsv(10, 84%, 62%)
CMYKcmyk(0%, 69.2%, 83.6%, 37.6%)
CIE-LABlab(37.20, 44.37, 38.79)
CIE-LCHlch(37.20, 58.94, 41.16°)
OKLaboklab(47.55% 0.1248 0.0826)
OKLCHoklch(47.55% 0.15 33.5)
XYZxyz(15.5847, 9.6445, 2.0180)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F311A #1A889F
analogous
#9F1A46 #9F311A #9F741A
triadic
#9F311A #1A9F31 #311A9F
tetradic
#9F311A #469F1A #1A889F #741A9F
square
#9F311A #469F1A #1A889F #741A9F
split-complementary
#9F311A #1A9F74 #1A469F
monochromatic
#361109 #6A2111 #9F311A #D44123 #E36A51

Accessibility & contrast

On white

7.17
#9F311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F311A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F311A#FFFFFF#000000##FFFFFF
##9F311A1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514816
Deuteranopia (green-blind)
#6C6114
Tritanopia (blue-blind)
#AF0A2D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f311a;
/* rgb */ color: rgb(159, 49, 26);
/* oklch */ color: oklch(47.6% 0.150 33.5);
Tailwind
colors: {
  custom: {
    50: '#c47059',
    500: '#9f311a',
    950: '#000000',
  },
}
SCSS
$custom: #9f311a;
$custom-light: #c47059;
$custom-dark: #000000;
JSON
{
  "hex": "#9f311a",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 10.376,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.14965,
    "h": 33.5
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#9F311A
secondary
#50B1C5
accent
#CFEF39
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140803
muted
#837B78

Preview Lab

Preview with #9F311A

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

Preview Lab → · Contrast checker → · Palette generator →

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