#9E3317#9E3317

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

Color values

HEX#9E3317
RGBrgb(158, 51, 23)
HSLhsl(12, 75%, 35%)
HSVhsv(12, 85%, 62%)
CMYKcmyk(0%, 67.7%, 85.4%, 38%)
CIE-LABlab(37.30, 43.08, 40.30)
CIE-LCHlch(37.30, 58.99, 43.09°)
OKLaboklab(47.59% 0.1204 0.0849)
OKLCHoklch(47.59% 0.147 35.2)
XYZxyz(15.4408, 9.7009, 1.8699)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3317 #17829E
analogous
#9E173F #9E3317 #9E7617
triadic
#9E3317 #179E33 #33179E
tetradic
#9E3317 #3F9E17 #17829E #76179E
square
#9E3317 #3F9E17 #17829E #76179E
split-complementary
#9E3317 #179E76 #173F9E
monochromatic
#331107 #69220F #9E3317 #D3441F #E56B4B

Accessibility & contrast

On white

7.14
#9E3317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9E3317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E3317
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3317#FFFFFF#000000##FFFFFF
##9E33171.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524912
Deuteranopia (green-blind)
#6D6111
Tritanopia (blue-blind)
#AE102E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e3317;
/* rgb */ color: rgb(158, 51, 23);
/* oklch */ color: oklch(47.6% 0.147 35.2);
Tailwind
colors: {
  custom: {
    50: '#c37057',
    500: '#9e3317',
    950: '#000000',
  },
}
SCSS
$custom: #9e3317;
$custom-light: #c37057;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3317",
  "rgb": {
    "r": 158,
    "g": 51,
    "b": 23
  },
  "hsl": {
    "h": 12.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.14732,
    "h": 35.2
  },
  "luminance": 0.09699
}

Semantic roles & 50–950 ramp

primary
#9E3317
secondary
#4AADC6
accent
#CBF137
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140803
muted
#837B78

Preview Lab

Preview with #9E3317

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

Preview Lab → · Contrast checker → · Palette generator →

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