#9F161B#9F161B

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

Color values

HEX#9F161B
RGBrgb(159, 22, 27)
HSLhsl(358, 76%, 35%)
HSVhsv(358, 86%, 62%)
CMYKcmyk(0%, 86.2%, 83%, 37.6%)
CIE-LABlab(34.04, 53.22, 35.25)
CIE-LCHlch(34.04, 63.84, 33.52°)
OKLaboklab(45.2% 0.1527 0.0751)
OKLCHoklch(45.2% 0.17 26.2)
XYZxyz(14.7847, 8.0263, 1.8075)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F161B #169F9A
analogous
#9F165F #9F161B #9F5516
triadic
#9F161B #1B9F16 #161B9F
tetradic
#9F161B #5F9F16 #169F9A #55169F
square
#9F161B #5F9F16 #169F9A #55169F
split-complementary
#9F161B #169F55 #165F9F
monochromatic
#330709 #690F12 #9F161B #D51D24 #E64A4F

Accessibility & contrast

On white

8.06
#9F161B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F161B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F161B#FFFFFF#000000##FFFFFF
##9F161B1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f161b;
/* rgb */ color: rgb(159, 22, 27);
/* oklch */ color: oklch(45.2% 0.170 26.2);
Tailwind
colors: {
  custom: {
    50: '#c56558',
    500: '#9f161b',
    950: '#000000',
  },
}
SCSS
$custom: #9f161b;
$custom-light: #c56558;
$custom-dark: #000000;
JSON
{
  "hex": "#9f161b",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 27
  },
  "hsl": {
    "h": 357.81,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.17014,
    "h": 26.2
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#9F161B
secondary
#4AC7C3
accent
#F2EB36
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9F161B

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

Preview Lab → · Contrast checker → · Palette generator →

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