#9E2317#9E2317

#9E2317 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 30.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9E2317
RGBrgb(158, 35, 23)
HSLhsl(5, 75%, 35%)
HSVhsv(5, 85%, 62%)
CMYKcmyk(0%, 77.8%, 85.4%, 38%)
CIE-LABlab(35.07, 49.20, 38.31)
CIE-LCHlch(35.07, 62.36, 37.91°)
OKLaboklab(45.92% 0.1394 0.0804)
OKLCHoklch(45.92% 0.161 30)
XYZxyz(14.8581, 8.5354, 1.6756)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2317 #17929E
analogous
#9E174F #9E2317 #9E6617
triadic
#9E2317 #179E23 #23179E
tetradic
#9E2317 #4F9E17 #17929E #66179E
square
#9E2317 #4F9E17 #17929E #66179E
split-complementary
#9E2317 #179E66 #174F9E
monochromatic
#330B07 #69170F #9E2317 #D32F1F #E5584B

Accessibility & contrast

On white

7.76
#9E2317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E2317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2317
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2317#FFFFFF#000000##FFFFFF
##9E23171.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4114
Deuteranopia (green-blind)
#685C10
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2317;
/* rgb */ color: rgb(158, 35, 23);
/* oklch */ color: oklch(45.9% 0.161 30.0);
Tailwind
colors: {
  custom: {
    50: '#c46956',
    500: '#9e2317',
    950: '#000000',
  },
}
SCSS
$custom: #9e2317;
$custom-light: #c46956;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2317",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 23
  },
  "hsl": {
    "h": 5.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.16091,
    "h": 30
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#9E2317
secondary
#4ABBC6
accent
#E1F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2317

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

Preview Lab → · Contrast checker → · Palette generator →

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