#9D1F22#9D1F22

#9D1F22 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.162 H 25.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9D1F22
RGBrgb(157, 31, 34)
HSLhsl(359, 67%, 37%)
HSVhsv(359, 80%, 62%)
CMYKcmyk(0%, 80.3%, 78.3%, 38.4%)
CIE-LABlab(34.53, 50.49, 31.55)
CIE-LCHlch(34.53, 59.54, 32.00°)
OKLaboklab(45.52% 0.1458 0.0696)
OKLCHoklch(45.52% 0.162 25.5)
XYZxyz(14.6851, 8.2659, 2.3353)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F22 #1F9D9A
analogous
#9D1F61 #9D1F22 #9D5B1F
triadic
#9D1F22 #229D1F #1F229D
tetradic
#9D1F22 #619D1F #1F9D9A #5B1F9D
square
#9D1F22 #619D1F #1F9D9A #5B1F9D
split-complementary
#9D1F22 #1F9D5B #1F619D
monochromatic
#370B0C #6A1517 #9D1F22 #D0292D #DE585C

Accessibility & contrast

On white

7.92
#9D1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9D1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F22
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F22#FFFFFF#000000##FFFFFF
##9D1F221.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474021
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1f22;
/* rgb */ color: rgb(157, 31, 34);
/* oklch */ color: oklch(45.5% 0.162 25.5);
Tailwind
colors: {
  custom: {
    50: '#c3675d',
    500: '#9d1f22',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f22;
$custom-light: #c3675d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f22",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.571,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45515,
    "c": 0.16156,
    "h": 25.5
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#9D1F22
secondary
#56C2BF
accent
#EAE63E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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