#9F1F22#9F1F22

#9F1F22 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.164 H 25.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9F1F22
RGBrgb(159, 31, 34)
HSLhsl(359, 67%, 37%)
HSVhsv(359, 81%, 62%)
CMYKcmyk(0%, 80.5%, 78.6%, 37.6%)
CIE-LABlab(34.94, 51.10, 32.11)
CIE-LCHlch(34.94, 60.35, 32.15°)
OKLaboklab(45.89% 0.1475 0.0706)
OKLCHoklch(45.89% 0.164 25.6)
XYZxyz(15.0786, 8.4688, 2.3538)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1F22 #1F9F9C
analogous
#9F1F62 #9F1F22 #9F5C1F
triadic
#9F1F22 #229F1F #1F229F
tetradic
#9F1F22 #629F1F #1F9F9C #5C1F9F
square
#9F1F22 #629F1F #1F9F9C #5C1F9F
split-complementary
#9F1F22 #1F9F5C #1F629F
monochromatic
#390B0C #6C1517 #9F1F22 #D2292D #DF5A5D

Accessibility & contrast

On white

7.80
#9F1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1F22
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1F22#FFFFFF#000000##FFFFFF
##9F1F221.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484020
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1f22;
/* rgb */ color: rgb(159, 31, 34);
/* oklch */ color: oklch(45.9% 0.164 25.6);
Tailwind
colors: {
  custom: {
    50: '#c4685d',
    500: '#9f1f22',
    950: '#000000',
  },
}
SCSS
$custom: #9f1f22;
$custom-light: #c4685d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1f22",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.594,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45892,
    "c": 0.16352,
    "h": 25.6
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#9F1F22
secondary
#57C3C0
accent
#EAE63E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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