#9E1D1F#9E1D1F

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

Color values

HEX#9E1D1F
RGBrgb(158, 29, 31)
HSLhsl(359, 69%, 37%)
HSVhsv(359, 82%, 62%)
CMYKcmyk(0%, 81.6%, 80.4%, 38%)
CIE-LABlab(34.50, 51.27, 33.35)
CIE-LCHlch(34.50, 61.16, 33.04°)
OKLaboklab(45.52% 0.1475 0.0725)
OKLCHoklch(45.52% 0.164 26.2)
XYZxyz(14.7891, 8.2492, 2.1096)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D1F #1D9E9C
analogous
#9E1D60 #9E1D1F #9E5C1D
triadic
#9E1D1F #1F9E1D #1D1F9E
tetradic
#9E1D1F #609E1D #1D9E9C #5C1D9E
square
#9E1D1F #609E1D #1D9E9C #5C1D9E
split-complementary
#9E1D1F #1D9E5C #1D609E
monochromatic
#370A0B #6A1415 #9E1D1F #D22629 #E05658

Accessibility & contrast

On white

7.93
#9E1D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1D1F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D1F#FFFFFF#000000##FFFFFF
##9E1D1F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F1D
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#AE0020
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1d1f;
/* rgb */ color: rgb(158, 29, 31);
/* oklch */ color: oklch(45.5% 0.164 26.2);
Tailwind
colors: {
  custom: {
    50: '#c4675b',
    500: '#9e1d1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d1f;
$custom-light: #c4675b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d1f",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 31
  },
  "hsl": {
    "h": 359.07,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.16432,
    "h": 26.2
  },
  "luminance": 0.08247
}

Semantic roles & 50–950 ramp

primary
#9E1D1F
secondary
#54C3C1
accent
#ECE93C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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