#9F1B1A#9F1B1A

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

Color values

HEX#9F1B1A
RGBrgb(159, 27, 26)
HSLhsl(0, 72%, 36%)
HSVhsv(0, 84%, 62%)
CMYKcmyk(0%, 83%, 83.6%, 37.6%)
CIE-LABlab(34.46, 51.96, 36.22)
CIE-LCHlch(34.46, 63.34, 34.88°)
OKLaboklab(45.51% 0.1485 0.0768)
OKLCHoklch(45.51% 0.167 27.4)
XYZxyz(14.8783, 8.2318, 1.7826)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B1A #1A9E9F
analogous
#9F1A5C #9F1B1A #9F5E1A
triadic
#9F1B1A #1A9F1B #1B1A9F
tetradic
#9F1B1A #5C9F1A #1A9E9F #5E1A9F
square
#9F1B1A #5C9F1A #1A9E9F #5E1A9F
split-complementary
#9F1B1A #1A9F5E #1A5C9F
monochromatic
#360909 #6A1211 #9F1B1A #D42423 #E35251

Accessibility & contrast

On white

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

On black

2.65
#9F1B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F1B1A#FFFFFF#000000##FFFFFF
##9F1B1A1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F18
Deuteranopia (green-blind)
#675B13
Tritanopia (blue-blind)
#B0001D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1b1a;
/* rgb */ color: rgb(159, 27, 26);
/* oklch */ color: oklch(45.5% 0.167 27.4);
Tailwind
colors: {
  custom: {
    50: '#c56658',
    500: '#9f1b1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b1a;
$custom-light: #c56658;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b1a",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 26
  },
  "hsl": {
    "h": 0.451,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.1672,
    "h": 27.4
  },
  "luminance": 0.08229
}

Semantic roles & 50–950 ramp

primary
#9F1B1A
secondary
#50C4C5
accent
#EDEF39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F1B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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