#9E1718#9E1718

#9E1718 is a mid, vivid red. Relative luminance 0.079; OKLCH L 45.0% C 0.169 H 27.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9E1718
RGBrgb(158, 23, 24)
HSLhsl(360, 75%, 35%)
HSVhsv(360, 85%, 62%)
CMYKcmyk(0%, 85.4%, 84.8%, 38%)
CIE-LABlab(33.88, 52.62, 36.69)
CIE-LCHlch(33.88, 64.15, 34.89°)
OKLaboklab(45.04% 0.1503 0.0772)
OKLCHoklch(45.04% 0.169 27.2)
XYZxyz(14.5737, 7.9503, 1.6312)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1718 #179E9D
analogous
#9E175B #9E1718 #9E5A17
triadic
#9E1718 #189E17 #17189E
tetradic
#9E1718 #5B9E17 #179E9D #5A179E
square
#9E1718 #5B9E17 #179E9D #5A179E
split-complementary
#9E1718 #179E5A #175B9E
monochromatic
#330708 #690F10 #9E1718 #D31F20 #E54B4C

Accessibility & contrast

On white

8.11
#9E1718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#9E1718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1718
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1718#FFFFFF#000000##FFFFFF
##9E17181.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D16
Deuteranopia (green-blind)
#655A10
Tritanopia (blue-blind)
#AF001A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9e1718;
/* rgb */ color: rgb(158, 23, 24);
/* oklch */ color: oklch(45.0% 0.169 27.2);
Tailwind
colors: {
  custom: {
    50: '#c46556',
    500: '#9e1718',
    950: '#000000',
  },
}
SCSS
$custom: #9e1718;
$custom-light: #c46556;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1718",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.556,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45036,
    "c": 0.16894,
    "h": 27.2
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#9E1718
secondary
#4AC6C5
accent
#F1F037
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9E1718

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

Preview Lab → · Contrast checker → · Palette generator →

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