#9F1F31#9F1F31

#9F1F31 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.162 H 19.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9F1F31
RGBrgb(159, 31, 49)
HSLhsl(352, 67%, 37%)
HSVhsv(352, 81%, 62%)
CMYKcmyk(0%, 80.5%, 69.2%, 37.6%)
CIE-LABlab(35.15, 51.77, 23.11)
CIE-LCHlch(35.15, 56.69, 24.06°)
OKLaboklab(46.12% 0.153 0.0541)
OKLCHoklch(46.12% 0.162 19.5)
XYZxyz(15.3442, 8.5750, 3.7523)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F31 #1F9F8D
analogous
#9F1F71 #9F1F31 #9F4D1F
triadic
#9F1F31 #319F1F #1F319F
tetradic
#9F1F31 #719F1F #1F9F8D #4D1F9F
square
#9F1F31 #719F1F #1F9F8D #4D1F9F
split-complementary
#9F1F31 #1F9F4D #1F719F
monochromatic
#390B11 #6C1521 #9F1F31 #D22941 #DF5A6C

Accessibility & contrast

On white

7.74
#9F1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9F1F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F31
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F31#FFFFFF#000000##FFFFFF
##9F1F311.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464131
Deuteranopia (green-blind)
#665C2D
Tritanopia (blue-blind)
#AF0027
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1f31;
/* rgb */ color: rgb(159, 31, 49);
/* oklch */ color: oklch(46.1% 0.162 19.5);
Tailwind
colors: {
  custom: {
    50: '#c36869',
    500: '#9f1f31',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f31;
$custom-light: #c36869;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f31",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 351.563,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.16232,
    "h": 19.5
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#9F1F31
secondary
#57C3B4
accent
#EAD23E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1F31

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

Preview Lab → · Contrast checker → · Palette generator →

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