#9F311C#9F311C

#9F311C is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.6% C 0.149 H 32.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F311C
RGBrgb(159, 49, 28)
HSLhsl(10, 70%, 37%)
HSVhsv(10, 82%, 62%)
CMYKcmyk(0%, 69.2%, 82.4%, 37.6%)
CIE-LABlab(37.21, 44.43, 37.77)
CIE-LCHlch(37.21, 58.32, 40.37°)
OKLaboklab(47.57% 0.1254 0.081)
OKLCHoklch(47.57% 0.149 32.9)
XYZxyz(15.6078, 9.6537, 2.1399)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F311C #1C8A9F
analogous
#9F1C49 #9F311C #9F731C
triadic
#9F311C #1C9F31 #311C9F
tetradic
#9F311C #499F1C #1C8A9F #731C9F
square
#9F311C #499F1C #1C8A9F #731C9F
split-complementary
#9F311C #1C9F73 #1C499F
monochromatic
#37110A #6B2113 #9F311C #D34125 #E16B54

Accessibility & contrast

On white

7.17
#9F311C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F311C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F311C
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F311C#FFFFFF#000000##FFFFFF
##9F311C1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514818
Deuteranopia (green-blind)
#6C6117
Tritanopia (blue-blind)
#AF0A2D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f311c;
/* rgb */ color: rgb(159, 49, 28);
/* oklch */ color: oklch(47.6% 0.149 32.9);
Tailwind
colors: {
  custom: {
    50: '#c4705a',
    500: '#9f311c',
    950: '#000000',
  },
}
SCSS
$custom: #9f311c;
$custom-light: #c4705a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f311c",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 9.618,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.14928,
    "h": 32.9
  },
  "luminance": 0.09651
}

Semantic roles & 50–950 ramp

primary
#9F311C
secondary
#53B2C4
accent
#D0ED3B
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F311C

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

Preview Lab → · Contrast checker → · Palette generator →

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