#9E1D1A#9E1D1A

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

Color values

HEX#9E1D1A
RGBrgb(158, 29, 26)
HSLhsl(1, 72%, 36%)
HSVhsv(1, 84%, 62%)
CMYKcmyk(0%, 81.6%, 83.5%, 38%)
CIE-LABlab(34.45, 51.12, 36.13)
CIE-LCHlch(34.45, 62.60, 35.25°)
OKLaboklab(45.46% 0.146 0.0767)
OKLCHoklch(45.46% 0.165 27.7)
XYZxyz(14.7282, 8.2248, 1.7891)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D1A #1A9B9E
analogous
#9E1A59 #9E1D1A #9E5F1A
triadic
#9E1D1A #1A9E1D #1D1A9E
tetradic
#9E1D1A #599E1A #1A9B9E #5F1A9E
square
#9E1D1A #599E1A #1A9B9E #5F1A9E
split-complementary
#9E1D1A #1A9E5F #1A599E
monochromatic
#350A09 #691311 #9E1D1A #D32723 #E25350

Accessibility & contrast

On white

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

On black

2.64
#9E1D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9E1D1A#FFFFFF#000000##FFFFFF
##9E1D1A1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F18
Deuteranopia (green-blind)
#665B13
Tritanopia (blue-blind)
#AF001E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1d1a;
/* rgb */ color: rgb(158, 29, 26);
/* oklch */ color: oklch(45.5% 0.165 27.7);
Tailwind
colors: {
  custom: {
    50: '#c46758',
    500: '#9e1d1a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d1a;
$custom-light: #c46758;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d1a",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 26
  },
  "hsl": {
    "h": 1.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.1649,
    "h": 27.7
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#9E1D1A
secondary
#4FC2C5
accent
#EAEE39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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