#9B2229#9B2229

#9B2229 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.156 H 23.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9B2229
RGBrgb(155, 34, 41)
HSLhsl(357, 64%, 37%)
HSVhsv(357, 78%, 61%)
CMYKcmyk(0%, 78.1%, 73.5%, 39.2%)
CIE-LABlab(34.55, 49.23, 27.21)
CIE-LCHlch(34.55, 56.25, 28.93°)
OKLaboklab(45.49% 0.1437 0.062)
OKLCHoklch(45.49% 0.156 23.3)
XYZxyz(14.4915, 8.2750, 2.9316)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2229 #229B94
analogous
#9B2266 #9B2229 #9B5822
triadic
#9B2229 #299B22 #22299B
tetradic
#9B2229 #669B22 #229B94 #58229B
square
#9B2229 #669B22 #229B94 #58229B
split-complementary
#9B2229 #229B58 #22669B
monochromatic
#370C0E #69171C #9B2229 #CD2D36 #DB5C63

Accessibility & contrast

On white

7.91
#9B2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9B2229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2229
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2229#FFFFFF#000000##FFFFFF
##9B22291.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474128
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#AB0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b2229;
/* rgb */ color: rgb(155, 34, 41);
/* oklch */ color: oklch(45.5% 0.156 23.3);
Tailwind
colors: {
  custom: {
    50: '#c16863',
    500: '#9b2229',
    950: '#000000',
  },
}
SCSS
$custom: #9b2229;
$custom-light: #c16863;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2229",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.529,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.15646,
    "h": 23.3
  },
  "luminance": 0.08273
}

Semantic roles & 50–950 ramp

primary
#9B2229
secondary
#59C0BA
accent
#E7DD41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9B2229

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

Preview Lab → · Contrast checker → · Palette generator →

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