#9D311A#9D311A

#9D311A is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.148 H 33.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9D311A
RGBrgb(157, 49, 26)
HSLhsl(11, 72%, 36%)
HSVhsv(11, 83%, 62%)
CMYKcmyk(0%, 68.8%, 83.4%, 38.4%)
CIE-LABlab(36.82, 43.67, 38.30)
CIE-LCHlch(36.82, 58.09, 41.26°)
OKLaboklab(47.2% 0.1228 0.0817)
OKLCHoklch(47.2% 0.148 33.6)
XYZxyz(15.1912, 9.4416, 1.9996)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D311A #1A869D
analogous
#9D1A44 #9D311A #9D721A
triadic
#9D311A #1A9D31 #311A9D
tetradic
#9D311A #449D1A #1A869D #721A9D
square
#9D311A #449D1A #1A869D #721A9D
split-complementary
#9D311A #1A9D72 #1A449D
monochromatic
#341009 #682111 #9D311A #D24123 #E2694F

Accessibility & contrast

On white

7.27
#9D311A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9D311A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D311A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D311A#FFFFFF#000000##FFFFFF
##9D311A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514716
Deuteranopia (green-blind)
#6B5F15
Tritanopia (blue-blind)
#AD0C2D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d311a;
/* rgb */ color: rgb(157, 49, 26);
/* oklch */ color: oklch(47.2% 0.148 33.6);
Tailwind
colors: {
  custom: {
    50: '#c26f59',
    500: '#9d311a',
    950: '#000000',
  },
}
SCSS
$custom: #9d311a;
$custom-light: #c26f59;
$custom-dark: #000000;
JSON
{
  "hex": "#9d311a",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 26
  },
  "hsl": {
    "h": 10.534,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.472,
    "c": 0.14752,
    "h": 33.6
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#9D311A
secondary
#4EB0C4
accent
#CFEE39
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140803
muted
#837B78

Preview Lab

Preview with #9D311A

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

Preview Lab → · Contrast checker → · Palette generator →

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