#9E1917#9E1917

#9E1917 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.168 H 27.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9E1917
RGBrgb(158, 25, 23)
HSLhsl(1, 75%, 35%)
HSVhsv(1, 85%, 62%)
CMYKcmyk(0%, 84.2%, 85.4%, 38%)
CIE-LABlab(34.04, 52.11, 37.38)
CIE-LCHlch(34.04, 64.13, 35.66°)
OKLaboklab(45.15% 0.1485 0.0783)
OKLCHoklch(45.15% 0.168 27.8)
XYZxyz(14.6047, 8.0286, 1.5912)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1917 #179C9E
analogous
#9E1758 #9E1917 #9E5C17
triadic
#9E1917 #179E19 #19179E
tetradic
#9E1917 #589E17 #179C9E #5C179E
square
#9E1917 #589E17 #179C9E #5C179E
split-complementary
#9E1917 #179E5C #17589E
monochromatic
#330807 #69110F #9E1917 #D3211F #E54D4B

Accessibility & contrast

On white

8.06
#9E1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9E1917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1917
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1917#FFFFFF#000000##FFFFFF
##9E19171.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#665A0F
Tritanopia (blue-blind)
#AF001B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9e1917;
/* rgb */ color: rgb(158, 25, 23);
/* oklch */ color: oklch(45.2% 0.168 27.8);
Tailwind
colors: {
  custom: {
    50: '#c46556',
    500: '#9e1917',
    950: '#000000',
  },
}
SCSS
$custom: #9e1917;
$custom-light: #c46556;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1917",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 0.889,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.16785,
    "h": 27.8
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#9E1917
secondary
#4AC4C6
accent
#EEF137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9E1917

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

Preview Lab → · Contrast checker → · Palette generator →

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