#9E1417#9E1417

#9E1417 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.9% C 0.171 H 27.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9E1417
RGBrgb(158, 20, 23)
HSLhsl(359, 78%, 35%)
HSVhsv(359, 87%, 62%)
CMYKcmyk(0%, 87.3%, 85.4%, 38%)
CIE-LABlab(33.63, 53.27, 37.01)
CIE-LCHlch(33.63, 64.87, 34.79°)
OKLaboklab(44.85% 0.1521 0.0774)
OKLCHoklch(44.85% 0.171 27)
XYZxyz(14.5072, 7.8337, 1.5587)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1417 #149E9B
analogous
#9E145C #9E1417 #9E5614
triadic
#9E1417 #179E14 #14179E
tetradic
#9E1417 #5C9E14 #149E9B #56149E
square
#9E1417 #5C9E14 #149E9B #56149E
split-complementary
#9E1417 #149E56 #145C9E
monochromatic
#310607 #680D0F #9E1417 #D41B1F #E74548

Accessibility & contrast

On white

8.18
#9E1417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#9E1417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1417
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1417#FFFFFF#000000##FFFFFF
##9E14171.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#65590E
Tritanopia (blue-blind)
#AF0018
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #9e1417;
/* rgb */ color: rgb(158, 20, 23);
/* oklch */ color: oklch(44.9% 0.171 27.0);
Tailwind
colors: {
  custom: {
    50: '#c56455',
    500: '#9e1417',
    950: '#000000',
  },
}
SCSS
$custom: #9e1417;
$custom-light: #c56455;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1417",
  "rgb": {
    "r": 158,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 358.696,
    "s": 77.528,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44852,
    "c": 0.17071,
    "h": 27
  },
  "luminance": 0.07831
}

Semantic roles & 50–950 ramp

primary
#9E1417
secondary
#46C8C5
accent
#F4F034
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9E1417

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

Preview Lab → · Contrast checker → · Palette generator →

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