#9D2417#9D2417

#9D2417 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.159 H 30.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#9D2417
RGBrgb(157, 36, 23)
HSLhsl(6, 74%, 35%)
HSVhsv(6, 85%, 62%)
CMYKcmyk(0%, 77.1%, 85.4%, 38.4%)
CIE-LABlab(34.99, 48.55, 38.16)
CIE-LCHlch(34.99, 61.75, 38.17°)
OKLaboklab(45.82% 0.1375 0.0802)
OKLCHoklch(45.82% 0.159 30.3)
XYZxyz(14.6920, 8.4941, 1.6764)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2417 #17909D
analogous
#9D174D #9D2417 #9D6717
triadic
#9D2417 #179D24 #24179D
tetradic
#9D2417 #4D9D17 #17909D #67179D
square
#9D2417 #4D9D17 #17909D #67179D
split-complementary
#9D2417 #179D67 #174D9D
monochromatic
#320C07 #68180F #9D2417 #D2301F #E4594A

Accessibility & contrast

On white

7.78
#9D2417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9D2417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2417
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2417#FFFFFF#000000##FFFFFF
##9D24171.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4114
Deuteranopia (green-blind)
#685C10
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2417;
/* rgb */ color: rgb(157, 36, 23);
/* oklch */ color: oklch(45.8% 0.159 30.3);
Tailwind
colors: {
  custom: {
    50: '#c36956',
    500: '#9d2417',
    950: '#000000',
  },
}
SCSS
$custom: #9d2417;
$custom-light: #c36956;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2417",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 23
  },
  "hsl": {
    "h": 5.821,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.15913,
    "h": 30.3
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#9D2417
secondary
#4ABAC6
accent
#DFF137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2417

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

Preview Lab → · Contrast checker → · Palette generator →

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