#9E1E17#9E1E17

#9E1E17 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.165 H 28.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1E17
RGBrgb(158, 30, 23)
HSLhsl(3, 75%, 35%)
HSVhsv(3, 85%, 62%)
CMYKcmyk(0%, 81%, 85.4%, 38%)
CIE-LABlab(34.52, 50.75, 37.82)
CIE-LCHlch(34.52, 63.29, 36.69°)
OKLaboklab(45.51% 0.1442 0.0793)
OKLCHoklch(45.51% 0.165 28.8)
XYZxyz(14.7213, 8.2619, 1.6300)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E17 #17979E
analogous
#9E1753 #9E1E17 #9E6117
triadic
#9E1E17 #179E1E #1E179E
tetradic
#9E1E17 #539E17 #17979E #61179E
square
#9E1E17 #539E17 #17979E #61179E
split-complementary
#9E1E17 #179E61 #17539E
monochromatic
#330A07 #69140F #9E1E17 #D3281F #E5534B

Accessibility & contrast

On white

7.92
#9E1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E17
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E17#FFFFFF#000000##FFFFFF
##9E1E171.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F14
Deuteranopia (green-blind)
#675B0F
Tritanopia (blue-blind)
#AF001E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1e17;
/* rgb */ color: rgb(158, 30, 23);
/* oklch */ color: oklch(45.5% 0.165 28.8);
Tailwind
colors: {
  custom: {
    50: '#c46756',
    500: '#9e1e17',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e17;
$custom-light: #c46756;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e17",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 3.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45511,
    "c": 0.16457,
    "h": 28.8
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#9E1E17
secondary
#4AC0C6
accent
#E8F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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