#9E1D1B#9E1D1B

#9E1D1B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.165 H 27.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9E1D1B
RGBrgb(158, 29, 27)
HSLhsl(1, 71%, 36%)
HSVhsv(1, 83%, 62%)
CMYKcmyk(0%, 81.6%, 82.9%, 38%)
CIE-LABlab(34.46, 51.15, 35.59)
CIE-LCHlch(34.46, 62.31, 34.83°)
OKLaboklab(45.47% 0.1463 0.0759)
OKLCHoklch(45.47% 0.165 27.4)
XYZxyz(14.7396, 8.2294, 1.8490)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D1B #1B9C9E
analogous
#9E1B5B #9E1D1B #9E5F1B
triadic
#9E1D1B #1B9E1D #1D1B9E
tetradic
#9E1D1B #5B9E1B #1B9C9E #5F1B9E
square
#9E1D1B #5B9E1B #1B9C9E #5F1B9E
split-complementary
#9E1D1B #1B9E5F #1B5B9E
monochromatic
#350A09 #6A1312 #9E1D1B #D22724 #E15452

Accessibility & contrast

On white

7.94
#9E1D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D1B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D1B#FFFFFF#000000##FFFFFF
##9E1D1B1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1d1b;
/* rgb */ color: rgb(158, 29, 27);
/* oklch */ color: oklch(45.5% 0.165 27.4);
Tailwind
colors: {
  custom: {
    50: '#c46758',
    500: '#9e1d1b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d1b;
$custom-light: #c46758;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d1b",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 27
  },
  "hsl": {
    "h": 0.916,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45472,
    "c": 0.16479,
    "h": 27.4
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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