#9B1F33#9B1F33

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

Color values

HEX#9B1F33
RGBrgb(155, 31, 51)
HSLhsl(350, 67%, 36%)
HSVhsv(350, 80%, 61%)
CMYKcmyk(0%, 80%, 67.1%, 39.2%)
CIE-LABlab(34.38, 50.68, 20.68)
CIE-LCHlch(34.38, 54.74, 22.20°)
OKLaboklab(45.41% 0.1506 0.0491)
OKLCHoklch(45.41% 0.158 18.1)
XYZxyz(14.6067, 8.1898, 3.9430)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F33 #1F9B87
analogous
#9B1F71 #9B1F33 #9B491F
triadic
#9B1F33 #339B1F #1F339B
tetradic
#9B1F33 #719B1F #1F9B87 #491F9B
square
#9B1F33 #719B1F #1F9B87 #491F9B
split-complementary
#9B1F33 #1F9B49 #1F719B
monochromatic
#350B11 #681522 #9B1F33 #CE2944 #DD576D

Accessibility & contrast

On white

7.96
#9B1F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F33
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F33#FFFFFF#000000##FFFFFF
##9B1F331.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444033
Deuteranopia (green-blind)
#635A2F
Tritanopia (blue-blind)
#AA0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1f33;
/* rgb */ color: rgb(155, 31, 51);
/* oklch */ color: oklch(45.4% 0.158 18.1);
Tailwind
colors: {
  custom: {
    50: '#c0676a',
    500: '#9b1f33',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f33;
$custom-light: #c0676a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f33",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 350.323,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.15838,
    "h": 18.1
  },
  "luminance": 0.08188
}

Semantic roles & 50–950 ramp

primary
#9B1F33
secondary
#55C1B0
accent
#EACE3E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9B1F33

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

Preview Lab → · Contrast checker → · Palette generator →

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