#9E1E1E#9E1E1E

#9E1E1E is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.164 H 26.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#9E1E1E
RGBrgb(158, 30, 30)
HSLhsl(0, 68%, 37%)
HSVhsv(0, 81%, 62%)
CMYKcmyk(0%, 81%, 81%, 38%)
CIE-LABlab(34.59, 50.95, 34.02)
CIE-LCHlch(34.59, 61.26, 33.73°)
OKLaboklab(45.58% 0.1463 0.0736)
OKLCHoklch(45.58% 0.164 26.7)
XYZxyz(14.8010, 8.2938, 2.0496)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E1E #1E9E9E
analogous
#9E1E5E #9E1E1E #9E5E1E
triadic
#9E1E1E #1E9E1E #1E1E9E
tetradic
#9E1E1E #5E9E1E #1E9E9E #5E1E9E
square
#9E1E1E #5E9E1E #1E9E9E #5E1E9E
split-complementary
#9E1E1E #1E9E5E #1E5E9E
monochromatic
#370A0A #6B1414 #9E1E1E #D12828 #DF5757

Accessibility & contrast

On white

7.90
#9E1E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9E1E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1E1E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E1E#FFFFFF#000000##FFFFFF
##9E1E1E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401C
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#AE0020
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1e1e;
/* rgb */ color: rgb(158, 30, 30);
/* oklch */ color: oklch(45.6% 0.164 26.7);
Tailwind
colors: {
  custom: {
    50: '#c4675b',
    500: '#9e1e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e1e;
$custom-light: #c4675b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e1e",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 30
  },
  "hsl": {
    "h": 0,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.16373,
    "h": 26.7
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#9E1E1E
secondary
#55C3C3
accent
#EBEB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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