#9B1F3A#9B1F3A

#9B1F3A is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.159 H 14.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9B1F3A
RGBrgb(155, 31, 58)
HSLhsl(347, 67%, 36%)
HSVhsv(347, 80%, 61%)
CMYKcmyk(0%, 80%, 62.6%, 39.2%)
CIE-LABlab(34.51, 51.11, 16.35)
CIE-LCHlch(34.51, 53.66, 17.74°)
OKLaboklab(45.55% 0.1534 0.0399)
OKLCHoklch(45.55% 0.159 14.6)
XYZxyz(14.7728, 8.2562, 4.8179)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F3A #1F9B80
analogous
#9B1F78 #9B1F3A #9B421F
triadic
#9B1F3A #3A9B1F #1F3A9B
tetradic
#9B1F3A #789B1F #1F9B80 #421F9B
square
#9B1F3A #789B1F #1F9B80 #421F9B
split-complementary
#9B1F3A #1F9B42 #1F789B
monochromatic
#350B14 #681527 #9B1F3A #CE294D #DD5774

Accessibility & contrast

On white

7.92
#9B1F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F3A
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F3A#FFFFFF#000000##FFFFFF
##9B1F3A1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413A
Deuteranopia (green-blind)
#625A37
Tritanopia (blue-blind)
#AA002B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1f3a;
/* rgb */ color: rgb(155, 31, 58);
/* oklch */ color: oklch(45.6% 0.159 14.6);
Tailwind
colors: {
  custom: {
    50: '#bf686f',
    500: '#9b1f3a',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f3a;
$custom-light: #bf686f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f3a",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 346.935,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.15851,
    "h": 14.6
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#9B1F3A
secondary
#55C1A9
accent
#EAC43E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #9B1F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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