#9E1B1C#9E1B1C

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

Color values

HEX#9E1B1C
RGBrgb(158, 27, 28)
HSLhsl(360, 71%, 36%)
HSVhsv(360, 83%, 62%)
CMYKcmyk(0%, 82.9%, 82.3%, 38%)
CIE-LABlab(34.27, 51.73, 34.84)
CIE-LCHlch(34.27, 62.37, 33.96°)
OKLaboklab(45.34% 0.1483 0.0747)
OKLCHoklch(45.34% 0.166 26.7)
XYZxyz(14.7039, 8.1392, 1.8952)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B1C #1B9E9D
analogous
#9E1B5E #9E1B1C #9E5C1B
triadic
#9E1B1C #1C9E1B #1B1C9E
tetradic
#9E1B1C #5E9E1B #1B9E9D #5C1B9E
square
#9E1B1C #5E9E1B #1B9E9D #5C1B9E
split-complementary
#9E1B1C #1B9E5C #1B5E9E
monochromatic
#350909 #6A1213 #9E1B1C #D22425 #E15253

Accessibility & contrast

On white

7.99
#9E1B1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9E1B1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B1C
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B1C#FFFFFF#000000##FFFFFF
##9E1B1C1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1A
Deuteranopia (green-blind)
#665B15
Tritanopia (blue-blind)
#AF001E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b1c;
/* rgb */ color: rgb(158, 27, 28);
/* oklch */ color: oklch(45.3% 0.166 26.7);
Tailwind
colors: {
  custom: {
    50: '#c46659',
    500: '#9e1b1c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b1c;
$custom-light: #c46659;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b1c",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 28
  },
  "hsl": {
    "h": 359.542,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.16603,
    "h": 26.7
  },
  "luminance": 0.08137
}

Semantic roles & 50–950 ramp

primary
#9E1B1C
secondary
#51C4C3
accent
#EEEC3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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