#9F161A#9F161A

#9F161A is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.2% C 0.170 H 26.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9F161A
RGBrgb(159, 22, 26)
HSLhsl(358, 76%, 35%)
HSVhsv(358, 86%, 62%)
CMYKcmyk(0%, 86.2%, 83.6%, 37.6%)
CIE-LABlab(34.03, 53.19, 35.81)
CIE-LCHlch(34.03, 64.12, 33.95°)
OKLaboklab(45.19% 0.1524 0.0759)
OKLCHoklch(45.19% 0.17 26.5)
XYZxyz(14.7733, 8.0218, 1.7476)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F161A #169F9B
analogous
#9F165E #9F161A #9F5616
triadic
#9F161A #1A9F16 #161A9F
tetradic
#9F161A #5E9F16 #169F9B #56169F
square
#9F161A #5E9F16 #169F9B #56169F
split-complementary
#9F161A #169F56 #165E9F
monochromatic
#330708 #690F11 #9F161A #D51D23 #E64A4E

Accessibility & contrast

On white

8.07
#9F161A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9F161A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F161A
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F161A#FFFFFF#000000##FFFFFF
##9F161A1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D18
Deuteranopia (green-blind)
#665A12
Tritanopia (blue-blind)
#B0001A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9f161a;
/* rgb */ color: rgb(159, 22, 26);
/* oklch */ color: oklch(45.2% 0.170 26.5);
Tailwind
colors: {
  custom: {
    50: '#c56558',
    500: '#9f161a',
    950: '#000000',
  },
}
SCSS
$custom: #9f161a;
$custom-light: #c56558;
$custom-dark: #000000;
JSON
{
  "hex": "#9f161a",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 26
  },
  "hsl": {
    "h": 358.248,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45189,
    "c": 0.17024,
    "h": 26.5
  },
  "luminance": 0.08019
}

Semantic roles & 50–950 ramp

primary
#9F161A
secondary
#4AC7C4
accent
#F2ED36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9F161A

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

Preview Lab → · Contrast checker → · Palette generator →

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