#9E1A1F#9E1A1F

#9E1A1F is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.3% C 0.166 H 25.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9E1A1F
RGBrgb(158, 26, 31)
HSLhsl(358, 72%, 36%)
HSVhsv(358, 84%, 62%)
CMYKcmyk(0%, 83.5%, 80.4%, 38%)
CIE-LABlab(34.21, 52.08, 33.05)
CIE-LCHlch(34.21, 61.69, 32.40°)
OKLaboklab(45.3% 0.1501 0.0718)
OKLCHoklch(45.3% 0.166 25.6)
XYZxyz(14.7191, 8.1092, 2.0863)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A1F #1A9E99
analogous
#9E1A61 #9E1A1F #9E571A
triadic
#9E1A1F #1F9E1A #1A1F9E
tetradic
#9E1A1F #619E1A #1A9E99 #571A9E
square
#9E1A1F #619E1A #1A9E99 #571A9E
split-complementary
#9E1A1F #1A9E57 #1A619E
monochromatic
#35090A #691115 #9E1A1F #D32329 #E25056

Accessibility & contrast

On white

8.01
#9E1A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9E1A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A1F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A1F#FFFFFF#000000##FFFFFF
##9E1A1F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#AF001E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9e1a1f;
/* rgb */ color: rgb(158, 26, 31);
/* oklch */ color: oklch(45.3% 0.166 25.6);
Tailwind
colors: {
  custom: {
    50: '#c4665b',
    500: '#9e1a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a1f;
$custom-light: #c4665b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a1f",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 357.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45302,
    "c": 0.16635,
    "h": 25.6
  },
  "luminance": 0.08107
}

Semantic roles & 50–950 ramp

primary
#9E1A1F
secondary
#4FC5C0
accent
#EEE839
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150604
muted
#837A79

Preview Lab

Preview with #9E1A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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