#9D2517#9D2517

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

Color values

HEX#9D2517
RGBrgb(157, 37, 23)
HSLhsl(6, 74%, 35%)
HSVhsv(6, 85%, 62%)
CMYKcmyk(0%, 76.4%, 85.4%, 38.4%)
CIE-LABlab(35.11, 48.21, 38.27)
CIE-LCHlch(35.11, 61.55, 38.45°)
OKLaboklab(45.92% 0.1364 0.0804)
OKLCHoklch(45.92% 0.158 30.5)
XYZxyz(14.7227, 8.5554, 1.6866)
Luminance0.0855 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2517 #178F9D
analogous
#9D174C #9D2517 #9D6817
triadic
#9D2517 #179D25 #25179D
tetradic
#9D2517 #4C9D17 #178F9D #68179D
square
#9D2517 #4C9D17 #178F9D #68179D
split-complementary
#9D2517 #179D68 #174C9D
monochromatic
#320C07 #68180F #9D2517 #D2321F #E45A4A

Accessibility & contrast

On white

7.75
#9D2517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9D2517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2517
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2517#FFFFFF#000000##FFFFFF
##9D25171.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2517;
/* rgb */ color: rgb(157, 37, 23);
/* oklch */ color: oklch(45.9% 0.158 30.5);
Tailwind
colors: {
  custom: {
    50: '#c36a56',
    500: '#9d2517',
    950: '#000000',
  },
}
SCSS
$custom: #9d2517;
$custom-light: #c36a56;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2517",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 6.269,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.15834,
    "h": 30.5
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

primary
#9D2517
secondary
#4AB9C6
accent
#DEF137
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2517

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

Preview Lab → · Contrast checker → · Palette generator →

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