#9B271F#9B271F

#9B271F is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.153 H 28.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9B271F
RGBrgb(155, 39, 31)
HSLhsl(4, 67%, 36%)
HSVhsv(4, 80%, 61%)
CMYKcmyk(0%, 74.8%, 80%, 39.2%)
CIE-LABlab(35.04, 47.10, 33.72)
CIE-LCHlch(35.04, 57.92, 35.60°)
OKLaboklab(45.82% 0.1347 0.0735)
OKLCHoklch(45.82% 0.153 28.6)
XYZxyz(14.4921, 8.5208, 2.1777)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B271F #1F939B
analogous
#9B1F55 #9B271F #9B651F
triadic
#9B271F #1F9B27 #271F9B
tetradic
#9B271F #559B1F #1F939B #651F9B
square
#9B271F #559B1F #1F939B #651F9B
split-complementary
#9B271F #1F9B65 #1F559B
monochromatic
#350D0B #681A15 #9B271F #CE3429 #DD6057

Accessibility & contrast

On white

7.77
#9B271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9B271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B271F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B271F#FFFFFF#000000##FFFFFF
##9B271F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#AB0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9b271f;
/* rgb */ color: rgb(155, 39, 31);
/* oklch */ color: oklch(45.8% 0.153 28.6);
Tailwind
colors: {
  custom: {
    50: '#c16a5b',
    500: '#9b271f',
    950: '#000000',
  },
}
SCSS
$custom: #9b271f;
$custom-light: #c16a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b271f",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 3.871,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.15347,
    "h": 28.6
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

primary
#9B271F
secondary
#55BAC1
accent
#DFEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9B271F

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

Preview Lab → · Contrast checker → · Palette generator →

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