#9D311C#9D311C

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

Color values

HEX#9D311C
RGBrgb(157, 49, 28)
HSLhsl(10, 70%, 36%)
HSVhsv(10, 82%, 62%)
CMYKcmyk(0%, 68.8%, 82.2%, 38.4%)
CIE-LABlab(36.84, 43.73, 37.28)
CIE-LCHlch(36.84, 57.47, 40.45°)
OKLaboklab(47.22% 0.1234 0.0802)
OKLCHoklch(47.22% 0.147 33)
XYZxyz(15.2143, 9.4508, 2.1215)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D311C #1C889D
analogous
#9D1C48 #9D311C #9D721C
triadic
#9D311C #1C9D31 #311C9D
tetradic
#9D311C #489D1C #1C889D #721C9D
square
#9D311C #489D1C #1C889D #721C9D
split-complementary
#9D311C #1C9D72 #1C489D
monochromatic
#351109 #692113 #9D311C #D14125 #E06A53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D311C#FFFFFF#000000##FFFFFF
##9D311C1.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)
#514819
Deuteranopia (green-blind)
#6B5F17
Tritanopia (blue-blind)
#AD0D2D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d311c;
/* rgb */ color: rgb(157, 49, 28);
/* oklch */ color: oklch(47.2% 0.147 33.0);
Tailwind
colors: {
  custom: {
    50: '#c26f5a',
    500: '#9d311c',
    950: '#000000',
  },
}
SCSS
$custom: #9d311c;
$custom-light: #c26f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d311c",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 9.767,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.14714,
    "h": 33
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#9D311C
secondary
#51B1C3
accent
#D0ED3B
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9D311C

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

Preview Lab → · Contrast checker → · Palette generator →

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