#9F1F1A#9F1F1A

#9F1F1A is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.164 H 28.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9F1F1A
RGBrgb(159, 31, 26)
HSLhsl(2, 72%, 36%)
HSVhsv(2, 84%, 62%)
CMYKcmyk(0%, 80.5%, 83.6%, 37.6%)
CIE-LABlab(34.86, 50.84, 36.59)
CIE-LCHlch(34.86, 62.64, 35.75°)
OKLaboklab(45.81% 0.145 0.0777)
OKLCHoklch(45.81% 0.164 28.2)
XYZxyz(14.9764, 8.4279, 1.8153)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F1A #1A9A9F
analogous
#9F1A58 #9F1F1A #9F621A
triadic
#9F1F1A #1A9F1F #1F1A9F
tetradic
#9F1F1A #589F1A #1A9A9F #621A9F
square
#9F1F1A #589F1A #1A9A9F #621A9F
split-complementary
#9F1F1A #1A9F62 #1A589F
monochromatic
#360A09 #6A1511 #9F1F1A #D42923 #E35651

Accessibility & contrast

On white

7.82
#9F1F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F1A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F1A#FFFFFF#000000##FFFFFF
##9F1F1A1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#675C13
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1f1a;
/* rgb */ color: rgb(159, 31, 26);
/* oklch */ color: oklch(45.8% 0.164 28.2);
Tailwind
colors: {
  custom: {
    50: '#c56858',
    500: '#9f1f1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f1a;
$custom-light: #c56858;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f1a",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 26
  },
  "hsl": {
    "h": 2.256,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45805,
    "c": 0.16447,
    "h": 28.2
  },
  "luminance": 0.08425
}

Semantic roles & 50–950 ramp

primary
#9F1F1A
secondary
#50C1C5
accent
#E8EF39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F1F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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