#9E1A17#9E1A17

#9E1A17 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.167 H 28.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#9E1A17
RGBrgb(158, 26, 23)
HSLhsl(1, 75%, 35%)
HSVhsv(1, 85%, 62%)
CMYKcmyk(0%, 83.5%, 85.4%, 38%)
CIE-LABlab(34.13, 51.85, 37.46)
CIE-LCHlch(34.13, 63.97, 35.85°)
OKLaboklab(45.22% 0.1477 0.0785)
OKLCHoklch(45.22% 0.167 28)
XYZxyz(14.6265, 8.0722, 1.5984)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A17 #179B9E
analogous
#9E1758 #9E1A17 #9E5D17
triadic
#9E1A17 #179E1A #1A179E
tetradic
#9E1A17 #589E17 #179B9E #5D179E
square
#9E1A17 #589E17 #179B9E #5D179E
split-complementary
#9E1A17 #179E5D #17589E
monochromatic
#330807 #69110F #9E1A17 #D3231F #E54E4B

Accessibility & contrast

On white

8.03
#9E1A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1A17
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A17#FFFFFF#000000##FFFFFF
##9E1A171.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1a17;
/* rgb */ color: rgb(158, 26, 23);
/* oklch */ color: oklch(45.2% 0.167 28.0);
Tailwind
colors: {
  custom: {
    50: '#c46656',
    500: '#9e1a17',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a17;
$custom-light: #c46656;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a17",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 23
  },
  "hsl": {
    "h": 1.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45221,
    "c": 0.16723,
    "h": 28
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1A17

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

Preview Lab → · Contrast checker → · Palette generator →

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