#9F1F2A#9F1F2A

#9F1F2A is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.163 H 22.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9F1F2A
RGBrgb(159, 31, 42)
HSLhsl(355, 67%, 37%)
HSVhsv(355, 81%, 62%)
CMYKcmyk(0%, 80.5%, 73.6%, 37.6%)
CIE-LABlab(35.04, 51.43, 27.37)
CIE-LCHlch(35.04, 58.26, 28.03°)
OKLaboklab(46% 0.1503 0.0623)
OKLCHoklch(46% 0.163 22.5)
XYZxyz(15.2078, 8.5205, 3.0339)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F2A #1F9F94
analogous
#9F1F6A #9F1F2A #9F541F
triadic
#9F1F2A #2A9F1F #1F2A9F
tetradic
#9F1F2A #6A9F1F #1F9F94 #541F9F
square
#9F1F2A #6A9F1F #1F9F94 #541F9F
split-complementary
#9F1F2A #1F9F54 #1F6A9F
monochromatic
#390B0F #6C151C #9F1F2A #D22938 #DF5A65

Accessibility & contrast

On white

7.77
#9F1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F1F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F2A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F2A#FFFFFF#000000##FFFFFF
##9F1F2A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474129
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1f2a;
/* rgb */ color: rgb(159, 31, 42);
/* oklch */ color: oklch(46.0% 0.163 22.5);
Tailwind
colors: {
  custom: {
    50: '#c46863',
    500: '#9f1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f2a;
$custom-light: #c46863;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f2a",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 354.844,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46002,
    "c": 0.16274,
    "h": 22.5
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#9F1F2A
secondary
#57C3B9
accent
#EADB3E
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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