#9B2822#9B2822

#9B2822 is a mid, vivid red. Relative luminance 0.086; OKLCH L 45.9% C 0.152 H 27.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9B2822
RGBrgb(155, 40, 34)
HSLhsl(3, 64%, 37%)
HSVhsv(3, 78%, 61%)
CMYKcmyk(0%, 74.2%, 78.1%, 39.2%)
CIE-LABlab(35.21, 46.84, 32.16)
CIE-LCHlch(35.21, 56.82, 34.48°)
OKLaboklab(45.95% 0.1346 0.0711)
OKLCHoklch(45.95% 0.152 27.8)
XYZxyz(14.5668, 8.6039, 2.4068)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2822 #22959B
analogous
#9B2259 #9B2822 #9B6522
triadic
#9B2822 #229B28 #28229B
tetradic
#9B2822 #599B22 #22959B #65229B
square
#9B2822 #599B22 #22959B #65229B
split-complementary
#9B2822 #229B65 #22599B
monochromatic
#370E0C #691B17 #9B2822 #CD352D #DB625C

Accessibility & contrast

On white

7.72
#9B2822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9B2822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2822
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2822#FFFFFF#000000##FFFFFF
##9B28221.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4320
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#AB0028
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b2822;
/* rgb */ color: rgb(155, 40, 34);
/* oklch */ color: oklch(45.9% 0.152 27.8);
Tailwind
colors: {
  custom: {
    50: '#c16b5e',
    500: '#9b2822',
    950: '#000000',
  },
}
SCSS
$custom: #9b2822;
$custom-light: #c16b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2822",
  "rgb": {
    "r": 155,
    "g": 40,
    "b": 34
  },
  "hsl": {
    "h": 2.975,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.15216,
    "h": 27.8
  },
  "luminance": 0.08602
}

Semantic roles & 50–950 ramp

primary
#9B2822
secondary
#59BBC0
accent
#DFE741
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79

Preview Lab

Preview with #9B2822

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

Preview Lab → · Contrast checker → · Palette generator →

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