#9E1817#9E1817

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

Color values

HEX#9E1817
RGBrgb(158, 24, 23)
HSLhsl(0, 75%, 35%)
HSVhsv(0, 85%, 62%)
CMYKcmyk(0%, 84.8%, 85.4%, 38%)
CIE-LABlab(33.96, 52.35, 37.30)
CIE-LCHlch(33.96, 64.29, 35.47°)
OKLaboklab(45.09% 0.1493 0.0781)
OKLCHoklch(45.09% 0.168 27.6)
XYZxyz(14.5837, 7.9867, 1.5842)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1817 #179D9E
analogous
#9E175A #9E1817 #9E5B17
triadic
#9E1817 #179E18 #18179E
tetradic
#9E1817 #5A9E17 #179D9E #5B179E
square
#9E1817 #5A9E17 #179D9E #5B179E
split-complementary
#9E1817 #179E5B #175A9E
monochromatic
#330807 #69100F #9E1817 #D3201F #E54C4B

Accessibility & contrast

On white

8.09
#9E1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9E1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1817
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1817#FFFFFF#000000##FFFFFF
##9E18171.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#665A0F
Tritanopia (blue-blind)
#AF001A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9e1817;
/* rgb */ color: rgb(158, 24, 23);
/* oklch */ color: oklch(45.1% 0.168 27.6);
Tailwind
colors: {
  custom: {
    50: '#c46556',
    500: '#9e1817',
    950: '#000000',
  },
}
SCSS
$custom: #9e1817;
$custom-light: #c46556;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1817",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.16846,
    "h": 27.6
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#9E1817
secondary
#4AC5C6
accent
#F0F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9E1817

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

Preview Lab → · Contrast checker → · Palette generator →

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