#9B2128#9B2128

#9B2128 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.157 H 23.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9B2128
RGBrgb(155, 33, 40)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 61%)
CMYKcmyk(0%, 78.7%, 74.2%, 39.2%)
CIE-LABlab(34.42, 49.51, 27.68)
CIE-LCHlch(34.42, 56.72, 29.21°)
OKLaboklab(45.39% 0.1443 0.0628)
OKLCHoklch(45.39% 0.157 23.5)
XYZxyz(14.4461, 8.2117, 2.8314)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2128 #219B94
analogous
#9B2165 #9B2128 #9B5721
triadic
#9B2128 #289B21 #21289B
tetradic
#9B2128 #659B21 #219B94 #57219B
square
#9B2128 #659B21 #219B94 #57219B
split-complementary
#9B2128 #219B57 #21659B
monochromatic
#360C0E #69161B #9B2128 #CD2C35 #DC5A62

Accessibility & contrast

On white

7.95
#9B2128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B2128
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2128#FFFFFF#000000##FFFFFF
##9B21281.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464027
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#AB0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b2128;
/* rgb */ color: rgb(155, 33, 40);
/* oklch */ color: oklch(45.4% 0.157 23.5);
Tailwind
colors: {
  custom: {
    50: '#c16862',
    500: '#9b2128',
    950: '#000000',
  },
}
SCSS
$custom: #9b2128;
$custom-light: #c16862;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2128",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 356.557,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.15738,
    "h": 23.5
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#9B2128
secondary
#58C0BA
accent
#E8DE40
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9B2128

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

Preview Lab → · Contrast checker → · Palette generator →

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