#9E1B2A#9E1B2A

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

Color values

HEX#9E1B2A
RGBrgb(158, 27, 42)
HSLhsl(353, 71%, 36%)
HSVhsv(353, 83%, 62%)
CMYKcmyk(0%, 82.9%, 73.4%, 38%)
CIE-LABlab(34.44, 52.25, 26.62)
CIE-LCHlch(34.44, 58.64, 26.99°)
OKLaboklab(45.52% 0.1531 0.0607)
OKLCHoklch(45.52% 0.165 21.6)
XYZxyz(14.9122, 8.2225, 2.9920)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B2A #1B9E8F
analogous
#9E1B6C #9E1B2A #9E4E1B
triadic
#9E1B2A #2A9E1B #1B2A9E
tetradic
#9E1B2A #6C9E1B #1B9E8F #4E1B9E
square
#9E1B2A #6C9E1B #1B9E8F #4E1B9E
split-complementary
#9E1B2A #1B9E4E #1B6C9E
monochromatic
#35090E #6A121C #9E1B2A #D22438 #E15262

Accessibility & contrast

On white

7.94
#9E1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9E1B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B2A
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B2A#FFFFFF#000000##FFFFFF
##9E1B2A1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F29
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#AE0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b2a;
/* rgb */ color: rgb(158, 27, 42);
/* oklch */ color: oklch(45.5% 0.165 21.6);
Tailwind
colors: {
  custom: {
    50: '#c36663',
    500: '#9e1b2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b2a;
$custom-light: #c36663;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b2a",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 353.13,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.1647,
    "h": 21.6
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#9E1B2A
secondary
#51C4B7
accent
#EED93A
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E1B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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