#9E2917#9E2917

#9E2917 is a mid, vivid red. Relative luminance 0.089; OKLCH L 46.5% C 0.156 H 31.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9E2917
RGBrgb(158, 41, 23)
HSLhsl(8, 75%, 35%)
HSVhsv(8, 85%, 62%)
CMYKcmyk(0%, 74.1%, 85.4%, 38%)
CIE-LABlab(35.83, 47.10, 38.99)
CIE-LCHlch(35.83, 61.14, 39.61°)
OKLaboklab(46.48% 0.1329 0.0819)
OKLCHoklch(46.48% 0.156 31.7)
XYZxyz(15.0500, 8.9192, 1.7396)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2917 #178C9E
analogous
#9E1748 #9E2917 #9E6C17
triadic
#9E2917 #179E29 #29179E
tetradic
#9E2917 #489E17 #178C9E #6C179E
square
#9E2917 #489E17 #178C9E #6C179E
split-complementary
#9E2917 #179E6C #17489E
monochromatic
#330D07 #691B0F #9E2917 #D3371F #E55F4B

Accessibility & contrast

On white

7.54
#9E2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9E2917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2917
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2917#FFFFFF#000000##FFFFFF
##9E29171.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4413
Deuteranopia (green-blind)
#6A5E10
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2917;
/* rgb */ color: rgb(158, 41, 23);
/* oklch */ color: oklch(46.5% 0.156 31.7);
Tailwind
colors: {
  custom: {
    50: '#c46c56',
    500: '#9e2917',
    950: '#000000',
  },
}
SCSS
$custom: #9e2917;
$custom-light: #c46c56;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2917",
  "rgb": {
    "r": 158,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 8,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46484,
    "c": 0.15609,
    "h": 31.7
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#9E2917
secondary
#4AB6C6
accent
#D8F137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9E2917

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

Preview Lab → · Contrast checker → · Palette generator →

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