#9B2218#9B2218

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

Color values

HEX#9B2218
RGBrgb(155, 34, 24)
HSLhsl(5, 73%, 35%)
HSVhsv(5, 85%, 61%)
CMYKcmyk(0%, 78.1%, 84.5%, 39.2%)
CIE-LABlab(34.36, 48.60, 36.91)
CIE-LCHlch(34.36, 61.03, 37.21°)
OKLaboklab(45.28% 0.138 0.078)
OKLCHoklch(45.28% 0.159 29.5)
XYZxyz(14.2562, 8.1809, 1.6924)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2218 #18919B
analogous
#9B1850 #9B2218 #9B6318
triadic
#9B2218 #189B22 #22189B
tetradic
#9B2218 #509B18 #18919B #63189B
square
#9B2218 #509B18 #18919B #63189B
split-complementary
#9B2218 #189B63 #18509B
monochromatic
#310B08 #661610 #9B2218 #D02E20 #E3564A

Accessibility & contrast

On white

7.97
#9B2218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2218
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2218#FFFFFF#000000##FFFFFF
##9B22181.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484015
Deuteranopia (green-blind)
#665A11
Tritanopia (blue-blind)
#AB0021
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b2218;
/* rgb */ color: rgb(155, 34, 24);
/* oklch */ color: oklch(45.3% 0.159 29.5);
Tailwind
colors: {
  custom: {
    50: '#c26857',
    500: '#9b2218',
    950: '#000000',
  },
}
SCSS
$custom: #9b2218;
$custom-light: #c26857;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2218",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 4.58,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45281,
    "c": 0.15855,
    "h": 29.5
  },
  "luminance": 0.08179
}

Semantic roles & 50–950 ramp

primary
#9B2218
secondary
#4ABBC5
accent
#E2F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9B2218

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

Preview Lab → · Contrast checker → · Palette generator →

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