#9E1818#9E1818

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

Color values

HEX#9E1818
RGBrgb(158, 24, 24)
HSLhsl(0, 74%, 36%)
HSVhsv(0, 85%, 62%)
CMYKcmyk(0%, 84.8%, 84.8%, 38%)
CIE-LABlab(33.96, 52.38, 36.77)
CIE-LCHlch(33.96, 64.00, 35.07°)
OKLaboklab(45.1% 0.1495 0.0773)
OKLCHoklch(45.1% 0.168 27.3)
XYZxyz(14.5939, 7.9907, 1.6379)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1818 #189E9E
analogous
#9E185B #9E1818 #9E5B18
triadic
#9E1818 #189E18 #18189E
tetradic
#9E1818 #5B9E18 #189E9E #5B189E
square
#9E1818 #5B9E18 #189E9E #5B189E
split-complementary
#9E1818 #189E5B #185B9E
monochromatic
#340808 #691010 #9E1818 #D32020 #E44D4D

Accessibility & contrast

On white

8.08
#9E1818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1818
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1818#FFFFFF#000000##FFFFFF
##9E18181.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1818;
/* rgb */ color: rgb(158, 24, 24);
/* oklch */ color: oklch(45.1% 0.168 27.3);
Tailwind
colors: {
  custom: {
    50: '#c46556',
    500: '#9e1818',
    950: '#000000',
  },
}
SCSS
$custom: #9e1818;
$custom-light: #c46556;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1818",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 24
  },
  "hsl": {
    "h": 0,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45098,
    "c": 0.16836,
    "h": 27.3
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#9E1818
secondary
#4CC6C6
accent
#F0F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9E1818

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

Preview Lab → · Contrast checker → · Palette generator →

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