#9F1A1C#9F1A1C

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

Color values

HEX#9F1A1C
RGBrgb(159, 26, 28)
HSLhsl(359, 72%, 36%)
HSVhsv(359, 84%, 62%)
CMYKcmyk(0%, 83.6%, 82.4%, 37.6%)
CIE-LABlab(34.39, 52.28, 35.03)
CIE-LCHlch(34.39, 62.93, 33.82°)
OKLaboklab(45.46% 0.1499 0.075)
OKLCHoklch(45.46% 0.168 26.6)
XYZxyz(14.8789, 8.1960, 1.8970)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A1C #1A9F9D
analogous
#9F1A5F #9F1A1C #9F5B1A
triadic
#9F1A1C #1C9F1A #1A1C9F
tetradic
#9F1A1C #5F9F1A #1A9F9D #5B1A9F
square
#9F1A1C #5F9F1A #1A9F9D #5B1A9F
split-complementary
#9F1A1C #1A9F5B #1A5F9F
monochromatic
#360909 #6A1113 #9F1A1C #D42325 #E35153

Accessibility & contrast

On white

7.96
#9F1A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A1C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A1C#FFFFFF#000000##FFFFFF
##9F1A1C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1A
Deuteranopia (green-blind)
#665B15
Tritanopia (blue-blind)
#B0001D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a1c;
/* rgb */ color: rgb(159, 26, 28);
/* oklch */ color: oklch(45.5% 0.168 26.6);
Tailwind
colors: {
  custom: {
    50: '#c56659',
    500: '#9f1a1c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a1c;
$custom-light: #c56659;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a1c",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 28
  },
  "hsl": {
    "h": 359.098,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.16762,
    "h": 26.6
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#9F1A1C
secondary
#50C5C3
accent
#EFEC39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F1A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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