#9E1E1B#9E1E1B

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

Color values

HEX#9E1E1B
RGBrgb(158, 30, 27)
HSLhsl(1, 71%, 36%)
HSVhsv(1, 83%, 62%)
CMYKcmyk(0%, 81%, 82.9%, 38%)
CIE-LABlab(34.56, 50.86, 35.68)
CIE-LCHlch(34.56, 62.13, 35.06°)
OKLaboklab(45.55% 0.1454 0.0762)
OKLCHoklch(45.55% 0.164 27.7)
XYZxyz(14.7645, 8.2792, 1.8573)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E1B #1B9B9E
analogous
#9E1B5A #9E1E1B #9E601B
triadic
#9E1E1B #1B9E1E #1E1B9E
tetradic
#9E1E1B #5A9E1B #1B9B9E #601B9E
square
#9E1E1B #5A9E1B #1B9B9E #601B9E
split-complementary
#9E1E1B #1B9E60 #1B5A9E
monochromatic
#350A09 #6A1412 #9E1E1B #D22824 #E15552

Accessibility & contrast

On white

7.91
#9E1E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1E1B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E1B#FFFFFF#000000##FFFFFF
##9E1E1B1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#675B14
Tritanopia (blue-blind)
#AF001F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1e1b;
/* rgb */ color: rgb(158, 30, 27);
/* oklch */ color: oklch(45.5% 0.164 27.7);
Tailwind
colors: {
  custom: {
    50: '#c46758',
    500: '#9e1e1b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e1b;
$custom-light: #c46758;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e1b",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 1.374,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.16409,
    "h": 27.7
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#9E1E1B
secondary
#51C2C4
accent
#E9EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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