#9E1E1F#9E1E1F

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

Color values

HEX#9E1E1F
RGBrgb(158, 30, 31)
HSLhsl(360, 68%, 37%)
HSVhsv(360, 81%, 62%)
CMYKcmyk(0%, 81%, 80.4%, 38%)
CIE-LABlab(34.60, 50.99, 33.45)
CIE-LCHlch(34.60, 60.98, 33.27°)
OKLaboklab(45.59% 0.1466 0.0727)
OKLCHoklch(45.59% 0.164 26.4)
XYZxyz(14.8140, 8.2990, 2.1179)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E1F #1E9E9D
analogous
#9E1E5F #9E1E1F #9E5D1E
triadic
#9E1E1F #1F9E1E #1E1F9E
tetradic
#9E1E1F #5F9E1E #1E9E9D #5D1E9E
square
#9E1E1F #5F9E1E #1E9E9D #5D1E9E
split-complementary
#9E1E1F #1E9E5D #1E5F9E
monochromatic
#370A0B #6B1415 #9E1E1F #D12829 #DF5758

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1E1F#FFFFFF#000000##FFFFFF
##9E1E1F1.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)
#47401D
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#AE0020
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1e1f;
/* rgb */ color: rgb(158, 30, 31);
/* oklch */ color: oklch(45.6% 0.164 26.4);
Tailwind
colors: {
  custom: {
    50: '#c4675b',
    500: '#9e1e1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e1f;
$custom-light: #c4675b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e1f",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.16362,
    "h": 26.4
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#9E1E1F
secondary
#55C3C2
accent
#EBEA3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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