#9D2617#9D2617

#9D2617 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.158 H 30.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9D2617
RGBrgb(157, 38, 23)
HSLhsl(7, 74%, 35%)
HSVhsv(7, 85%, 62%)
CMYKcmyk(0%, 75.8%, 85.4%, 38.4%)
CIE-LABlab(35.24, 47.86, 38.38)
CIE-LCHlch(35.24, 61.35, 38.73°)
OKLaboklab(46.01% 0.1353 0.0807)
OKLCHoklch(46.01% 0.158 30.8)
XYZxyz(14.7542, 8.6185, 1.6971)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2617 #178E9D
analogous
#9D174B #9D2617 #9D6917
triadic
#9D2617 #179D26 #26179D
tetradic
#9D2617 #4B9D17 #178E9D #69179D
square
#9D2617 #4B9D17 #178E9D #69179D
split-complementary
#9D2617 #179D69 #174B9D
monochromatic
#320C07 #68190F #9D2617 #D2331F #E45B4A

Accessibility & contrast

On white

7.71
#9D2617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9D2617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2617
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2617#FFFFFF#000000##FFFFFF
##9D26171.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4214
Deuteranopia (green-blind)
#685C10
Tritanopia (blue-blind)
#AD0024
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d2617;
/* rgb */ color: rgb(157, 38, 23);
/* oklch */ color: oklch(46.0% 0.158 30.8);
Tailwind
colors: {
  custom: {
    50: '#c36a56',
    500: '#9d2617',
    950: '#000000',
  },
}
SCSS
$custom: #9d2617;
$custom-light: #c36a56;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2617",
  "rgb": {
    "r": 157,
    "g": 38,
    "b": 23
  },
  "hsl": {
    "h": 6.716,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.15753,
    "h": 30.8
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#9D2617
secondary
#4AB8C6
accent
#DCF137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2617

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

Preview Lab → · Contrast checker → · Palette generator →

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