#9F1A2A#9F1A2A

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

Color values

HEX#9F1A2A
RGBrgb(159, 26, 42)
HSLhsl(353, 72%, 36%)
HSVhsv(353, 84%, 62%)
CMYKcmyk(0%, 83.6%, 73.6%, 37.6%)
CIE-LABlab(34.56, 52.80, 26.80)
CIE-LCHlch(34.56, 59.22, 26.91°)
OKLaboklab(45.64% 0.1547 0.0611)
OKLCHoklch(45.64% 0.166 21.5)
XYZxyz(15.0872, 8.2793, 2.9937)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A2A #1A9F8F
analogous
#9F1A6D #9F1A2A #9F4D1A
triadic
#9F1A2A #2A9F1A #1A2A9F
tetradic
#9F1A2A #6D9F1A #1A9F8F #4D1A9F
square
#9F1A2A #6D9F1A #1A9F8F #4D1A9F
split-complementary
#9F1A2A #1A9F4D #1A6D9F
monochromatic
#36090E #6A111C #9F1A2A #D42338 #E35162

Accessibility & contrast

On white

7.91
#9F1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A2A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A2A#FFFFFF#000000##FFFFFF
##9F1A2A1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F29
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a2a;
/* rgb */ color: rgb(159, 26, 42);
/* oklch */ color: oklch(45.6% 0.166 21.5);
Tailwind
colors: {
  custom: {
    50: '#c46663',
    500: '#9f1a2a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a2a;
$custom-light: #c46663;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a2a",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 352.782,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.16634,
    "h": 21.5
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#9F1A2A
secondary
#50C5B7
accent
#EFD939
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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