#9E2617#9E2617

#9E2617 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.159 H 30.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9E2617
RGBrgb(158, 38, 23)
HSLhsl(7, 75%, 35%)
HSVhsv(7, 85%, 62%)
CMYKcmyk(0%, 75.9%, 85.4%, 38%)
CIE-LABlab(35.44, 48.18, 38.64)
CIE-LCHlch(35.44, 61.76, 38.73°)
OKLaboklab(46.19% 0.1362 0.0811)
OKLCHoklch(46.19% 0.159 30.8)
XYZxyz(14.9501, 8.7196, 1.7063)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2617 #178F9E
analogous
#9E174B #9E2617 #9E6A17
triadic
#9E2617 #179E26 #26179E
tetradic
#9E2617 #4B9E17 #178F9E #6A179E
square
#9E2617 #4B9E17 #178F9E #6A179E
split-complementary
#9E2617 #179E6A #174B9E
monochromatic
#330C07 #69190F #9E2617 #D3331F #E55C4B

Accessibility & contrast

On white

7.65
#9E2617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E2617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2617
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2617#FFFFFF#000000##FFFFFF
##9E26171.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4214
Deuteranopia (green-blind)
#695D10
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2617;
/* rgb */ color: rgb(158, 38, 23);
/* oklch */ color: oklch(46.2% 0.159 30.8);
Tailwind
colors: {
  custom: {
    50: '#c46a56',
    500: '#9e2617',
    950: '#000000',
  },
}
SCSS
$custom: #9e2617;
$custom-light: #c46a56;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2617",
  "rgb": {
    "r": 158,
    "g": 38,
    "b": 23
  },
  "hsl": {
    "h": 6.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.15855,
    "h": 30.8
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#9E2617
secondary
#4AB9C6
accent
#DCF137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2617

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

Preview Lab → · Contrast checker → · Palette generator →

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