#9B2127#9B2127

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

Color values

HEX#9B2127
RGBrgb(155, 33, 39)
HSLhsl(357, 65%, 37%)
HSVhsv(357, 79%, 61%)
CMYKcmyk(0%, 78.7%, 74.8%, 39.2%)
CIE-LABlab(34.41, 49.46, 28.28)
CIE-LCHlch(34.41, 56.97, 29.76°)
OKLaboklab(45.37% 0.1439 0.0639)
OKLCHoklch(45.37% 0.157 23.9)
XYZxyz(14.4293, 8.2050, 2.7430)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2127 #219B95
analogous
#9B2164 #9B2127 #9B5821
triadic
#9B2127 #279B21 #21279B
tetradic
#9B2127 #649B21 #219B95 #58219B
square
#9B2127 #649B21 #219B95 #58219B
split-complementary
#9B2127 #219B58 #21649B
monochromatic
#360C0E #69161A #9B2127 #CD2C34 #DC5A61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2127#FFFFFF#000000##FFFFFF
##9B21271.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)
#464026
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#AB0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b2127;
/* rgb */ color: rgb(155, 33, 39);
/* oklch */ color: oklch(45.4% 0.157 23.9);
Tailwind
colors: {
  custom: {
    50: '#c16861',
    500: '#9b2127',
    950: '#000000',
  },
}
SCSS
$custom: #9b2127;
$custom-light: #c16861;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2127",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 357.049,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.15747,
    "h": 23.9
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#9B2127
secondary
#58C0BB
accent
#E8E040
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #9B2127

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

Preview Lab → · Contrast checker → · Palette generator →

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