#9F1A1F#9F1A1F

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

Color values

HEX#9F1A1F
RGBrgb(159, 26, 31)
HSLhsl(358, 72%, 36%)
HSVhsv(358, 84%, 62%)
CMYKcmyk(0%, 83.6%, 80.5%, 37.6%)
CIE-LABlab(34.42, 52.38, 33.33)
CIE-LCHlch(34.42, 62.08, 32.47°)
OKLaboklab(45.49% 0.1509 0.0723)
OKLCHoklch(45.49% 0.167 25.6)
XYZxyz(14.9166, 8.2111, 2.0956)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A1F #1A9F9A
analogous
#9F1A62 #9F1A1F #9F581A
triadic
#9F1A1F #1F9F1A #1A1F9F
tetradic
#9F1A1F #629F1A #1A9F9A #581A9F
square
#9F1A1F #629F1A #1A9F9A #581A9F
split-complementary
#9F1A1F #1A9F58 #1A629F
monochromatic
#36090A #6A1115 #9F1A1F #D42329 #E35156

Accessibility & contrast

On white

7.95
#9F1A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A1F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A1F#FFFFFF#000000##FFFFFF
##9F1A1F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1D
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#B0001E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a1f;
/* rgb */ color: rgb(159, 26, 31);
/* oklch */ color: oklch(45.5% 0.167 25.6);
Tailwind
colors: {
  custom: {
    50: '#c5665b',
    500: '#9f1a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a1f;
$custom-light: #c5665b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a1f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 357.744,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45494,
    "c": 0.1673,
    "h": 25.6
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#9F1A1F
secondary
#50C5C1
accent
#EFE839
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #9F1A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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