#9F1D1A#9F1D1A

#9F1D1A is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 27.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9F1D1A
RGBrgb(159, 29, 26)
HSLhsl(1, 72%, 36%)
HSVhsv(1, 84%, 62%)
CMYKcmyk(0%, 81.8%, 83.6%, 37.6%)
CIE-LABlab(34.65, 51.42, 36.40)
CIE-LCHlch(34.65, 63.00, 35.30°)
OKLaboklab(45.65% 0.1468 0.0772)
OKLCHoklch(45.65% 0.166 27.8)
XYZxyz(14.9258, 8.3267, 1.7984)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D1A #1A9C9F
analogous
#9F1A5A #9F1D1A #9F601A
triadic
#9F1D1A #1A9F1D #1D1A9F
tetradic
#9F1D1A #5A9F1A #1A9C9F #601A9F
square
#9F1D1A #5A9F1A #1A9C9F #601A9F
split-complementary
#9F1D1A #1A9F60 #1A5A9F
monochromatic
#360A09 #6A1311 #9F1D1A #D42723 #E35451

Accessibility & contrast

On white

7.88
#9F1D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9F1D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D1A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D1A#FFFFFF#000000##FFFFFF
##9F1D1A1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F18
Deuteranopia (green-blind)
#675C13
Tritanopia (blue-blind)
#B0001E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1d1a;
/* rgb */ color: rgb(159, 29, 26);
/* oklch */ color: oklch(45.7% 0.166 27.8);
Tailwind
colors: {
  custom: {
    50: '#c56758',
    500: '#9f1d1a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d1a;
$custom-light: #c56758;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d1a",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 26
  },
  "hsl": {
    "h": 1.353,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.16587,
    "h": 27.8
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#9F1D1A
secondary
#50C2C5
accent
#EBEF39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F1D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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