#9E1F1E#9E1F1E

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

Color values

HEX#9E1F1E
RGBrgb(158, 31, 30)
HSLhsl(0, 68%, 37%)
HSVhsv(0, 81%, 62%)
CMYKcmyk(0%, 80.4%, 81%, 38%)
CIE-LABlab(34.69, 50.66, 34.12)
CIE-LCHlch(34.69, 61.08, 33.96°)
OKLaboklab(45.66% 0.1453 0.0738)
OKLCHoklch(45.66% 0.163 26.9)
XYZxyz(14.8267, 8.3452, 2.0582)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F1E #1E9D9E
analogous
#9E1E5D #9E1F1E #9E5F1E
triadic
#9E1F1E #1E9E1F #1F1E9E
tetradic
#9E1F1E #5D9E1E #1E9D9E #5F1E9E
square
#9E1F1E #5D9E1E #1E9D9E #5F1E9E
split-complementary
#9E1F1E #1E9E5F #1E5D9E
monochromatic
#370B0A #6B1514 #9E1F1E #D12928 #DF5857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1F1E#FFFFFF#000000##FFFFFF
##9E1F1E1.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)
#47401C
Deuteranopia (green-blind)
#675B18
Tritanopia (blue-blind)
#AE0021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f1e;
/* rgb */ color: rgb(158, 31, 30);
/* oklch */ color: oklch(45.7% 0.163 26.9);
Tailwind
colors: {
  custom: {
    50: '#c4675b',
    500: '#9e1f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f1e;
$custom-light: #c4675b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f1e",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 0.469,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.16301,
    "h": 26.9
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#9E1F1E
secondary
#55C2C3
accent
#EAEB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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