#9F1A1A#9F1A1A

#9F1A1A is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.168 H 27.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9F1A1A
RGBrgb(159, 26, 26)
HSLhsl(0, 72%, 36%)
HSVhsv(0, 84%, 62%)
CMYKcmyk(0%, 83.6%, 83.6%, 37.6%)
CIE-LABlab(34.37, 52.23, 36.13)
CIE-LCHlch(34.37, 63.50, 34.68°)
OKLaboklab(45.44% 0.1493 0.0766)
OKLCHoklch(45.44% 0.168 27.2)
XYZxyz(14.8558, 8.1868, 1.7751)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A1A #1A9F9F
analogous
#9F1A5D #9F1A1A #9F5D1A
triadic
#9F1A1A #1A9F1A #1A1A9F
tetradic
#9F1A1A #5D9F1A #1A9F9F #5D1A9F
square
#9F1A1A #5D9F1A #1A9F9F #5D1A9F
split-complementary
#9F1A1A #1A9F5D #1A5D9F
monochromatic
#360909 #6A1111 #9F1A1A #D42323 #E35151

Accessibility & contrast

On white

7.96
#9F1A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A1A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A1A#FFFFFF#000000##FFFFFF
##9F1A1A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E18
Deuteranopia (green-blind)
#665B13
Tritanopia (blue-blind)
#B0001C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a1a;
/* rgb */ color: rgb(159, 26, 26);
/* oklch */ color: oklch(45.4% 0.168 27.2);
Tailwind
colors: {
  custom: {
    50: '#c56658',
    500: '#9f1a1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a1a;
$custom-light: #c56658;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a1a",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 0,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.16784,
    "h": 27.2
  },
  "luminance": 0.08184
}

Semantic roles & 50–950 ramp

primary
#9F1A1A
secondary
#50C5C5
accent
#EFEF39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9F1A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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