#9E1F1D#9E1F1D

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

Color values

HEX#9E1F1D
RGBrgb(158, 31, 29)
HSLhsl(1, 69%, 37%)
HSVhsv(1, 82%, 62%)
CMYKcmyk(0%, 80.4%, 81.6%, 38%)
CIE-LABlab(34.68, 50.63, 34.68)
CIE-LCHlch(34.68, 61.37, 34.41°)
OKLaboklab(45.65% 0.145 0.0747)
OKLCHoklch(45.65% 0.163 27.2)
XYZxyz(14.8141, 8.3402, 1.9920)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F1D #1D9C9E
analogous
#9E1D5C #9E1F1D #9E601D
triadic
#9E1F1D #1D9E1F #1F1D9E
tetradic
#9E1F1D #5C9E1D #1D9C9E #601D9E
square
#9E1F1D #5C9E1D #1D9C9E #601D9E
split-complementary
#9E1F1D #1D9E60 #1D5C9E
monochromatic
#370B0A #6A1514 #9E1F1D #D22926 #E05856

Accessibility & contrast

On white

7.87
#9E1F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F1D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F1D#FFFFFF#000000##FFFFFF
##9E1F1D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401B
Deuteranopia (green-blind)
#675B17
Tritanopia (blue-blind)
#AF0021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f1d;
/* rgb */ color: rgb(158, 31, 29);
/* oklch */ color: oklch(45.6% 0.163 27.2);
Tailwind
colors: {
  custom: {
    50: '#c4675a',
    500: '#9e1f1d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f1d;
$custom-light: #c4675a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f1d",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 0.93,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45646,
    "c": 0.16313,
    "h": 27.2
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#9E1F1D
secondary
#54C1C3
accent
#E9EC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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