#9D1E17#9D1E17

#9D1E17 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.164 H 28.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9D1E17
RGBrgb(157, 30, 23)
HSLhsl(3, 74%, 35%)
HSVhsv(3, 85%, 62%)
CMYKcmyk(0%, 80.9%, 85.4%, 38.4%)
CIE-LABlab(34.32, 50.44, 37.55)
CIE-LCHlch(34.32, 62.89, 36.67°)
OKLaboklab(45.32% 0.1434 0.0788)
OKLCHoklch(45.32% 0.164 28.8)
XYZxyz(14.5254, 8.1609, 1.6208)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E17 #17969D
analogous
#9D1753 #9D1E17 #9D6117
triadic
#9D1E17 #179D1E #1E179D
tetradic
#9D1E17 #539D17 #17969D #61179D
square
#9D1E17 #539D17 #17969D #61179D
split-complementary
#9D1E17 #179D61 #17539D
monochromatic
#320A07 #68140F #9D1E17 #D2281F #E4524A

Accessibility & contrast

On white

7.98
#9D1E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9D1E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E17
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E17#FFFFFF#000000##FFFFFF
##9D1E171.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1e17;
/* rgb */ color: rgb(157, 30, 23);
/* oklch */ color: oklch(45.3% 0.164 28.8);
Tailwind
colors: {
  custom: {
    50: '#c36756',
    500: '#9d1e17',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e17;
$custom-light: #c36756;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e17",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 23
  },
  "hsl": {
    "h": 3.134,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4532,
    "c": 0.1636,
    "h": 28.8
  },
  "luminance": 0.08159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D1E17

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

Preview Lab → · Contrast checker → · Palette generator →

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