#9B2228#9B2228

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

Color values

HEX#9B2228
RGBrgb(155, 34, 40)
HSLhsl(357, 64%, 37%)
HSVhsv(357, 78%, 61%)
CMYKcmyk(0%, 78.1%, 74.2%, 39.2%)
CIE-LABlab(34.54, 49.18, 27.81)
CIE-LCHlch(34.54, 56.50, 29.49°)
OKLaboklab(45.47% 0.1433 0.0631)
OKLCHoklch(45.47% 0.157 23.8)
XYZxyz(14.4743, 8.2681, 2.8408)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2228 #229B95
analogous
#9B2265 #9B2228 #9B5922
triadic
#9B2228 #289B22 #22289B
tetradic
#9B2228 #659B22 #229B95 #59229B
square
#9B2228 #659B22 #229B95 #59229B
split-complementary
#9B2228 #229B59 #22659B
monochromatic
#370C0E #69171B #9B2228 #CD2D35 #DB5C62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2228#FFFFFF#000000##FFFFFF
##9B22281.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)
#474127
Deuteranopia (green-blind)
#655B24
Tritanopia (blue-blind)
#AB0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b2228;
/* rgb */ color: rgb(155, 34, 40);
/* oklch */ color: oklch(45.5% 0.157 23.8);
Tailwind
colors: {
  custom: {
    50: '#c16862',
    500: '#9b2228',
    950: '#000000',
  },
}
SCSS
$custom: #9b2228;
$custom-light: #c16862;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2228",
  "rgb": {
    "r": 155,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 357.025,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.15655,
    "h": 23.8
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#9B2228
secondary
#59C0BB
accent
#E7DF41
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9B2228

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

Preview Lab → · Contrast checker → · Palette generator →

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