#9F371B#9F371B

#9F371B is a mid, vivid red. Relative luminance 0.102; OKLCH L 48.3% C 0.144 H 35.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F371B
RGBrgb(159, 55, 27)
HSLhsl(13, 71%, 36%)
HSVhsv(13, 83%, 62%)
CMYKcmyk(0%, 65.4%, 83%, 37.6%)
CIE-LABlab(38.17, 41.79, 39.20)
CIE-LCHlch(38.17, 57.30, 43.17°)
OKLaboklab(48.29% 0.117 0.0838)
OKLCHoklch(48.29% 0.144 35.6)
XYZxyz(15.8639, 10.1848, 2.1672)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F371B #1B839F
analogous
#9F1B41 #9F371B #9F791B
triadic
#9F371B #1B9F37 #371B9F
tetradic
#9F371B #419F1B #1B839F #791B9F
square
#9F371B #419F1B #1B839F #791B9F
split-complementary
#9F371B #1B9F79 #1B419F
monochromatic
#361309 #6B2512 #9F371B #D34924 #E27153

Accessibility & contrast

On white

6.92
#9F371B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F371B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F371B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F371B#FFFFFF#000000##FFFFFF
##9F371B1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B17
Deuteranopia (green-blind)
#6F6216
Tritanopia (blue-blind)
#AF1932
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f371b;
/* rgb */ color: rgb(159, 55, 27);
/* oklch */ color: oklch(48.3% 0.144 35.6);
Tailwind
colors: {
  custom: {
    50: '#c4735a',
    500: '#9f371b',
    950: '#000000',
  },
}
SCSS
$custom: #9f371b;
$custom-light: #c4735a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f371b",
  "rgb": {
    "r": 159,
    "g": 55,
    "b": 27
  },
  "hsl": {
    "h": 12.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.14395,
    "h": 35.6
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#9F371B
secondary
#51ACC5
accent
#C8EE3A
background
#FDF7F5
surface
#FAEDE9
border
#D3C8C5
text
#140804
muted
#837B79

Preview Lab

Preview with #9F371B

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

Preview Lab → · Contrast checker → · Palette generator →

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