#9F311B#9F311B

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

Color values

HEX#9F311B
RGBrgb(159, 49, 27)
HSLhsl(10, 71%, 36%)
HSVhsv(10, 83%, 62%)
CMYKcmyk(0%, 69.2%, 83%, 37.6%)
CIE-LABlab(37.20, 44.40, 38.29)
CIE-LCHlch(37.20, 58.63, 40.77°)
OKLaboklab(47.56% 0.1251 0.0818)
OKLCHoklch(47.56% 0.149 33.2)
XYZxyz(15.5960, 9.6490, 2.0779)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F311B #1B899F
analogous
#9F1B47 #9F311B #9F731B
triadic
#9F311B #1B9F31 #311B9F
tetradic
#9F311B #479F1B #1B899F #731B9F
square
#9F311B #479F1B #1B899F #731B9F
split-complementary
#9F311B #1B9F73 #1B479F
monochromatic
#361109 #6B2112 #9F311B #D34124 #E26B53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F311B#FFFFFF#000000##FFFFFF
##9F311B1.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)
#514817
Deuteranopia (green-blind)
#6C6116
Tritanopia (blue-blind)
#AF0A2D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f311b;
/* rgb */ color: rgb(159, 49, 27);
/* oklch */ color: oklch(47.6% 0.149 33.2);
Tailwind
colors: {
  custom: {
    50: '#c47059',
    500: '#9f311b',
    950: '#000000',
  },
}
SCSS
$custom: #9f311b;
$custom-light: #c47059;
$custom-dark: #000000;
JSON
{
  "hex": "#9f311b",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 10,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4756,
    "c": 0.14947,
    "h": 33.2
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#9F311B
secondary
#51B1C5
accent
#D0EE3A
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F311B

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

Preview Lab → · Contrast checker → · Palette generator →

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