#9A311F#9A311F

#9A311F is a mid, vivid red. Relative luminance 0.092; OKLCH L 46.7% C 0.143 H 32.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9A311F
RGBrgb(154, 49, 31)
HSLhsl(9, 66%, 36%)
HSVhsv(9, 80%, 60%)
CMYKcmyk(0%, 68.2%, 79.9%, 39.6%)
CIE-LABlab(36.31, 42.77, 34.95)
CIE-LCHlch(36.31, 55.24, 39.25°)
OKLaboklab(46.72% 0.1213 0.0763)
OKLCHoklch(46.72% 0.143 32.2)
XYZxyz(14.6737, 9.1678, 2.2930)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A311F #1F889A
analogous
#9A1F4B #9A311F #9A6F1F
triadic
#9A311F #1F9A31 #311F9A
tetradic
#9A311F #4B9A1F #1F889A #6F1F9A
square
#9A311F #4B9A1F #1F889A #6F1F9A
split-complementary
#9A311F #1F9A6F #1F4B9A
monochromatic
#34110A #672115 #9A311F #CD4129 #DD6A56

Accessibility & contrast

On white

7.41
#9A311F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9A311F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A311F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A311F#FFFFFF#000000##FFFFFF
##9A311F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#AA102E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a311f;
/* rgb */ color: rgb(154, 49, 31);
/* oklch */ color: oklch(46.7% 0.143 32.2);
Tailwind
colors: {
  custom: {
    50: '#c06f5c',
    500: '#9a311f',
    950: '#000000',
  },
}
SCSS
$custom: #9a311f;
$custom-light: #c06f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a311f",
  "rgb": {
    "r": 154,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 8.78,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.14332,
    "h": 32.2
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#9A311F
secondary
#54B1C1
accent
#D0E93E
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140804
muted
#827B79

Preview Lab

Preview with #9A311F

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

Preview Lab → · Contrast checker → · Palette generator →

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