#9E1F26#9E1F26

#9E1F26 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.162 H 24.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9E1F26
RGBrgb(158, 31, 38)
HSLhsl(357, 67%, 37%)
HSVhsv(357, 80%, 62%)
CMYKcmyk(0%, 80.4%, 75.9%, 38%)
CIE-LABlab(34.79, 50.95, 29.48)
CIE-LCHlch(34.79, 58.87, 30.05°)
OKLaboklab(45.76% 0.148 0.0661)
OKLCHoklch(45.76% 0.162 24.1)
XYZxyz(14.9422, 8.3914, 2.6663)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F26 #1F9E97
analogous
#9E1F66 #9E1F26 #9E581F
triadic
#9E1F26 #269E1F #1F269E
tetradic
#9E1F26 #669E1F #1F9E97 #581F9E
square
#9E1F26 #669E1F #1F9E97 #581F9E
split-complementary
#9E1F26 #1F9E58 #1F669E
monochromatic
#380B0D #6B151A #9E1F26 #D12932 #DE5960

Accessibility & contrast

On white

7.84
#9E1F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E1F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F26
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F26#FFFFFF#000000##FFFFFF
##9E1F261.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474025
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#AE0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f26;
/* rgb */ color: rgb(158, 31, 38);
/* oklch */ color: oklch(45.8% 0.162 24.1);
Tailwind
colors: {
  custom: {
    50: '#c36860',
    500: '#9e1f26',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f26;
$custom-light: #c36860;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f26",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.693,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.16211,
    "h": 24.1
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#9E1F26
secondary
#56C2BC
accent
#EAE13E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9E1F26

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

Preview Lab → · Contrast checker → · Palette generator →

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