#9D1817#9D1817

#9D1817 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.9% C 0.168 H 27.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9D1817
RGBrgb(157, 24, 23)
HSLhsl(0, 74%, 35%)
HSVhsv(0, 85%, 62%)
CMYKcmyk(0%, 84.7%, 85.4%, 38.4%)
CIE-LABlab(33.74, 52.06, 37.03)
CIE-LCHlch(33.74, 63.89, 35.43°)
OKLaboklab(44.9% 0.1485 0.0776)
OKLCHoklch(44.9% 0.168 27.6)
XYZxyz(14.3877, 7.8856, 1.5750)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1817 #179C9D
analogous
#9D1759 #9D1817 #9D5B17
triadic
#9D1817 #179D18 #18179D
tetradic
#9D1817 #599D17 #179C9D #5B179D
square
#9D1817 #599D17 #179C9D #5B179D
split-complementary
#9D1817 #179D5B #17599D
monochromatic
#320807 #68100F #9D1817 #D2201F #E44B4A

Accessibility & contrast

On white

8.15
#9D1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#9D1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1817
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1817#FFFFFF#000000##FFFFFF
##9D18171.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D15
Deuteranopia (green-blind)
#65590F
Tritanopia (blue-blind)
#AE001A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #9d1817;
/* rgb */ color: rgb(157, 24, 23);
/* oklch */ color: oklch(44.9% 0.168 27.6);
Tailwind
colors: {
  custom: {
    50: '#c46556',
    500: '#9d1817',
    950: '#000000',
  },
}
SCSS
$custom: #9d1817;
$custom-light: #c46556;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1817",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.448,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.16752,
    "h": 27.6
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#9D1817
secondary
#4AC5C6
accent
#F0F137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150603
muted
#837A78

Preview Lab

Preview with #9D1817

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

Preview Lab → · Contrast checker → · Palette generator →

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