#9D2917#9D2917

#9D2917 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.155 H 31.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9D2917
RGBrgb(157, 41, 23)
HSLhsl(8, 74%, 35%)
HSVhsv(8, 85%, 62%)
CMYKcmyk(0%, 73.9%, 85.4%, 38.4%)
CIE-LABlab(35.63, 46.77, 38.74)
CIE-LCHlch(35.63, 60.73, 39.63°)
OKLaboklab(46.3% 0.1319 0.0815)
OKLCHoklch(46.3% 0.155 31.7)
XYZxyz(14.8540, 8.8182, 1.7304)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2917 #178B9D
analogous
#9D1748 #9D2917 #9D6C17
triadic
#9D2917 #179D29 #29179D
tetradic
#9D2917 #489D17 #178B9D #6C179D
square
#9D2917 #489D17 #178B9D #6C179D
split-complementary
#9D2917 #179D6C #17489D
monochromatic
#320D07 #681B0F #9D2917 #D2371F #E45F4A

Accessibility & contrast

On white

7.60
#9D2917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9D2917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2917
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2917#FFFFFF#000000##FFFFFF
##9D29171.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#695D10
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d2917;
/* rgb */ color: rgb(157, 41, 23);
/* oklch */ color: oklch(46.3% 0.155 31.7);
Tailwind
colors: {
  custom: {
    50: '#c36b56',
    500: '#9d2917',
    950: '#000000',
  },
}
SCSS
$custom: #9d2917;
$custom-light: #c36b56;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2917",
  "rgb": {
    "r": 157,
    "g": 41,
    "b": 23
  },
  "hsl": {
    "h": 8.06,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46301,
    "c": 0.15506,
    "h": 31.7
  },
  "luminance": 0.08816
}

Semantic roles & 50–950 ramp

primary
#9D2917
secondary
#4AB5C6
accent
#D8F137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2917

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

Preview Lab → · Contrast checker → · Palette generator →

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