#9E3217#9E3217

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

Color values

HEX#9E3217
RGBrgb(158, 50, 23)
HSLhsl(12, 75%, 35%)
HSVhsv(12, 85%, 62%)
CMYKcmyk(0%, 68.4%, 85.4%, 38%)
CIE-LABlab(37.14, 43.51, 40.16)
CIE-LCHlch(37.14, 59.21, 42.70°)
OKLaboklab(47.47% 0.1217 0.0846)
OKLCHoklch(47.47% 0.148 34.8)
XYZxyz(15.3976, 9.6145, 1.8555)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E3217 #17839E
analogous
#9E173F #9E3217 #9E7517
triadic
#9E3217 #179E32 #32179E
tetradic
#9E3217 #3F9E17 #17839E #75179E
square
#9E3217 #3F9E17 #17839E #75179E
split-complementary
#9E3217 #179E75 #173F9E
monochromatic
#331007 #69210F #9E3217 #D3431F #E5694B

Accessibility & contrast

On white

7.19
#9E3217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E3217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E3217
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E3217#FFFFFF#000000##FFFFFF
##9E32171.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e3217;
/* rgb */ color: rgb(158, 50, 23);
/* oklch */ color: oklch(47.5% 0.148 34.8);
Tailwind
colors: {
  custom: {
    50: '#c37057',
    500: '#9e3217',
    950: '#000000',
  },
}
SCSS
$custom: #9e3217;
$custom-light: #c37057;
$custom-dark: #000000;
JSON
{
  "hex": "#9e3217",
  "rgb": {
    "r": 158,
    "g": 50,
    "b": 23
  },
  "hsl": {
    "h": 12,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47468,
    "c": 0.14822,
    "h": 34.8
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#9E3217
secondary
#4AAEC6
accent
#CCF137
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140803
muted
#837B78

Preview Lab

Preview with #9E3217

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

Preview Lab → · Contrast checker → · Palette generator →

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