#9D1F17#9D1F17

#9D1F17 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.163 H 29.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9D1F17
RGBrgb(157, 31, 23)
HSLhsl(4, 74%, 35%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 80.3%, 85.4%, 38.4%)
CIE-LABlab(34.42, 50.15, 37.65)
CIE-LCHlch(34.42, 62.71, 36.90°)
OKLaboklab(45.4% 0.1425 0.079)
OKLCHoklch(45.4% 0.163 29)
XYZxyz(14.5511, 8.2123, 1.6294)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F17 #17959D
analogous
#9D1752 #9D1F17 #9D6217
triadic
#9D1F17 #179D1F #1F179D
tetradic
#9D1F17 #529D17 #17959D #62179D
square
#9D1F17 #529D17 #17959D #62179D
split-complementary
#9D1F17 #179D62 #17529D
monochromatic
#320A07 #68140F #9D1F17 #D22A1F #E4534A

Accessibility & contrast

On white

7.95
#9D1F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F17
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F17#FFFFFF#000000##FFFFFF
##9D1F171.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F14
Deuteranopia (green-blind)
#665B0F
Tritanopia (blue-blind)
#AE001F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1f17;
/* rgb */ color: rgb(157, 31, 23);
/* oklch */ color: oklch(45.4% 0.163 29.0);
Tailwind
colors: {
  custom: {
    50: '#c36756',
    500: '#9d1f17',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f17;
$custom-light: #c36756;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f17",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 3.582,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45399,
    "c": 0.16289,
    "h": 29
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#9D1F17
secondary
#4ABFC6
accent
#E6F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9D1F17

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

Preview Lab → · Contrast checker → · Palette generator →

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