#9F161F#9F161F

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

Color values

HEX#9F161F
RGBrgb(159, 22, 31)
HSLhsl(356, 76%, 35%)
HSVhsv(356, 86%, 62%)
CMYKcmyk(0%, 86.2%, 80.5%, 37.6%)
CIE-LABlab(34.08, 53.35, 32.98)
CIE-LCHlch(34.08, 62.72, 31.73°)
OKLaboklab(45.24% 0.1539 0.0716)
OKLCHoklch(45.24% 0.17 24.9)
XYZxyz(14.8342, 8.0461, 2.0681)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F161F #169F96
analogous
#9F1664 #9F161F #9F5116
triadic
#9F161F #1F9F16 #161F9F
tetradic
#9F161F #649F16 #169F96 #51169F
square
#9F161F #649F16 #169F96 #51169F
split-complementary
#9F161F #169F51 #16649F
monochromatic
#33070A #690F15 #9F161F #D51D29 #E64A54

Accessibility & contrast

On white

8.05
#9F161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9F161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F161F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F161F#FFFFFF#000000##FFFFFF
##9F161F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D1E
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#B0001C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9f161f;
/* rgb */ color: rgb(159, 22, 31);
/* oklch */ color: oklch(45.2% 0.170 24.9);
Tailwind
colors: {
  custom: {
    50: '#c5655b',
    500: '#9f161f',
    950: '#000000',
  },
}
SCSS
$custom: #9f161f;
$custom-light: #c5655b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f161f",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 356.058,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45242,
    "c": 0.16974,
    "h": 24.9
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#9F161F
secondary
#4AC7BF
accent
#F2E636
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150604
muted
#837A79

Preview Lab

Preview with #9F161F

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

Preview Lab → · Contrast checker → · Palette generator →

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