#9B2118#9B2118

#9B2118 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.159 H 29.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9B2118
RGBrgb(155, 33, 24)
HSLhsl(4, 73%, 35%)
HSVhsv(4, 85%, 61%)
CMYKcmyk(0%, 78.7%, 84.5%, 39.2%)
CIE-LABlab(34.24, 48.93, 36.80)
CIE-LCHlch(34.24, 61.22, 36.95°)
OKLaboklab(45.2% 0.1391 0.0778)
OKLCHoklch(45.2% 0.159 29.2)
XYZxyz(14.2281, 8.1245, 1.6830)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2118 #18929B
analogous
#9B1851 #9B2118 #9B6218
triadic
#9B2118 #189B21 #21189B
tetradic
#9B2118 #519B18 #18929B #62189B
square
#9B2118 #519B18 #18929B #62189B
split-complementary
#9B2118 #189B62 #18519B
monochromatic
#310A08 #661610 #9B2118 #D02C20 #E3554A

Accessibility & contrast

On white

8.00
#9B2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9B2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2118
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2118#FFFFFF#000000##FFFFFF
##9B21181.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F15
Deuteranopia (green-blind)
#655A11
Tritanopia (blue-blind)
#AB0021
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b2118;
/* rgb */ color: rgb(155, 33, 24);
/* oklch */ color: oklch(45.2% 0.159 29.2);
Tailwind
colors: {
  custom: {
    50: '#c26856',
    500: '#9b2118',
    950: '#000000',
  },
}
SCSS
$custom: #9b2118;
$custom-light: #c26856;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2118",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.122,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.15932,
    "h": 29.2
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#9B2118
secondary
#4ABCC5
accent
#E3F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9B2118

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

Preview Lab → · Contrast checker → · Palette generator →

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