#9F1917#9F1917

#9F1917 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.3% C 0.169 H 27.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9F1917
RGBrgb(159, 25, 23)
HSLhsl(1, 75%, 36%)
HSVhsv(1, 86%, 62%)
CMYKcmyk(0%, 84.3%, 85.5%, 37.6%)
CIE-LABlab(34.25, 52.40, 37.65)
CIE-LCHlch(34.25, 64.52, 35.70°)
OKLaboklab(45.35% 0.1493 0.0788)
OKLCHoklch(45.35% 0.169 27.8)
XYZxyz(14.8022, 8.1305, 1.6004)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1917 #179D9F
analogous
#9F1759 #9F1917 #9F5D17
triadic
#9F1917 #179F19 #19179F
tetradic
#9F1917 #599F17 #179D9F #5D179F
square
#9F1917 #599F17 #179D9F #5D179F
split-complementary
#9F1917 #179F5D #17599F
monochromatic
#340808 #6A110F #9F1917 #D4211F #E54E4B

Accessibility & contrast

On white

8.00
#9F1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9F1917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1917
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1917#FFFFFF#000000##FFFFFF
##9F19171.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E14
Deuteranopia (green-blind)
#665B0F
Tritanopia (blue-blind)
#B0001B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1917;
/* rgb */ color: rgb(159, 25, 23);
/* oklch */ color: oklch(45.3% 0.169 27.8);
Tailwind
colors: {
  custom: {
    50: '#c56556',
    500: '#9f1917',
    950: '#000000',
  },
}
SCSS
$custom: #9f1917;
$custom-light: #c56556;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1917",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 0.882,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.16879,
    "h": 27.8
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#9F1917
secondary
#4BC5C7
accent
#EFF136
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9F1917

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

Preview Lab → · Contrast checker → · Palette generator →

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