#9F1A1B#9F1A1B

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

Color values

HEX#9F1A1B
RGBrgb(159, 26, 27)
HSLhsl(360, 72%, 36%)
HSVhsv(360, 84%, 62%)
CMYKcmyk(0%, 83.6%, 83%, 37.6%)
CIE-LABlab(34.38, 52.25, 35.58)
CIE-LCHlch(34.38, 63.22, 34.25°)
OKLaboklab(45.45% 0.1496 0.0758)
OKLCHoklch(45.45% 0.168 26.9)
XYZxyz(14.8672, 8.1913, 1.8350)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A1B #1A9F9E
analogous
#9F1A5E #9F1A1B #9F5C1A
triadic
#9F1A1B #1B9F1A #1A1B9F
tetradic
#9F1A1B #5E9F1A #1A9F9E #5C1A9F
square
#9F1A1B #5E9F1A #1A9F9E #5C1A9F
split-complementary
#9F1A1B #1A9F5C #1A5E9F
monochromatic
#360909 #6A1112 #9F1A1B #D42324 #E35152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A1B#FFFFFF#000000##FFFFFF
##9F1A1B1.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)
#463E19
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#B0001D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a1b;
/* rgb */ color: rgb(159, 26, 27);
/* oklch */ color: oklch(45.5% 0.168 26.9);
Tailwind
colors: {
  custom: {
    50: '#c56658',
    500: '#9f1a1b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a1b;
$custom-light: #c56658;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a1b",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 27
  },
  "hsl": {
    "h": 359.549,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.16773,
    "h": 26.9
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#9F1A1B
secondary
#50C5C4
accent
#EFED39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F1A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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