#9F3117#9F3117

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

Color values

HEX#9F3117
RGBrgb(159, 49, 23)
HSLhsl(11, 75%, 36%)
HSVhsv(11, 86%, 62%)
CMYKcmyk(0%, 69.2%, 85.5%, 37.6%)
CIE-LABlab(37.17, 44.29, 40.26)
CIE-LCHlch(37.17, 59.85, 42.27°)
OKLaboklab(47.53% 0.124 0.0847)
OKLCHoklch(47.53% 0.15 34.3)
XYZxyz(15.5529, 9.6318, 1.8506)
Luminance0.0963 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3117 #17859F
analogous
#9F1741 #9F3117 #9F7517
triadic
#9F3117 #179F31 #31179F
tetradic
#9F3117 #419F17 #17859F #75179F
square
#9F3117 #419F17 #17859F #75179F
split-complementary
#9F3117 #179F75 #17419F
monochromatic
#341008 #6A210F #9F3117 #D4411F #E5694B

Accessibility & contrast

On white

7.18
#9F3117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F3117
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3117#FFFFFF#000000##FFFFFF
##9F31171.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524812
Deuteranopia (green-blind)
#6D6011
Tritanopia (blue-blind)
#AF092C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f3117;
/* rgb */ color: rgb(159, 49, 23);
/* oklch */ color: oklch(47.5% 0.150 34.3);
Tailwind
colors: {
  custom: {
    50: '#c47057',
    500: '#9f3117',
    950: '#000000',
  },
}
SCSS
$custom: #9f3117;
$custom-light: #c47057;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3117",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 23
  },
  "hsl": {
    "h": 11.471,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.15018,
    "h": 34.3
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#9F3117
secondary
#4BAFC7
accent
#CEF136
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140803
muted
#837B78

Preview Lab

Preview with #9F3117

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

Preview Lab → · Contrast checker → · Palette generator →

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