#9B221B#9B221B

#9B221B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.3% C 0.158 H 28.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9B221B
RGBrgb(155, 34, 27)
HSLhsl(3, 70%, 36%)
HSVhsv(3, 83%, 61%)
CMYKcmyk(0%, 78.1%, 82.6%, 39.2%)
CIE-LABlab(34.38, 48.69, 35.31)
CIE-LCHlch(34.38, 60.15, 35.94°)
OKLaboklab(45.31% 0.1389 0.0756)
OKLCHoklch(45.31% 0.158 28.6)
XYZxyz(14.2892, 8.1940, 1.8659)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B221B #1B949B
analogous
#9B1B54 #9B221B #9B621B
triadic
#9B221B #1B9B22 #221B9B
tetradic
#9B221B #549B1B #1B949B #621B9B
square
#9B221B #549B1B #1B949B #621B9B
split-complementary
#9B221B #1B9B62 #1B549B
monochromatic
#330B09 #671712 #9B221B #CF2D24 #E05850

Accessibility & contrast

On white

7.96
#9B221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9B221B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B221B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B221B#FFFFFF#000000##FFFFFF
##9B221B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484019
Deuteranopia (green-blind)
#665A15
Tritanopia (blue-blind)
#AB0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b221b;
/* rgb */ color: rgb(155, 34, 27);
/* oklch */ color: oklch(45.3% 0.158 28.6);
Tailwind
colors: {
  custom: {
    50: '#c26859',
    500: '#9b221b',
    950: '#000000',
  },
}
SCSS
$custom: #9b221b;
$custom-light: #c26859;
$custom-dark: #000000;
JSON
{
  "hex": "#9b221b",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 3.281,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45309,
    "c": 0.15815,
    "h": 28.6
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#9B221B
secondary
#4FBDC3
accent
#E3ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9B221B

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

Preview Lab → · Contrast checker → · Palette generator →

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