#9B1F18#9B1F18

#9B1F18 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.0% C 0.161 H 28.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9B1F18
RGBrgb(155, 31, 24)
HSLhsl(3, 73%, 35%)
HSVhsv(3, 85%, 61%)
CMYKcmyk(0%, 80%, 84.5%, 39.2%)
CIE-LABlab(34.02, 49.55, 36.59)
CIE-LCHlch(34.02, 61.60, 36.44°)
OKLaboklab(45.03% 0.141 0.0773)
OKLCHoklch(45.03% 0.161 28.7)
XYZxyz(14.1742, 8.0168, 1.6651)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F18 #18949B
analogous
#9B1853 #9B1F18 #9B6018
triadic
#9B1F18 #189B1F #1F189B
tetradic
#9B1F18 #539B18 #18949B #60189B
square
#9B1F18 #539B18 #18949B #60189B
split-complementary
#9B1F18 #189B60 #18539B
monochromatic
#310A08 #661410 #9B1F18 #D02A20 #E3534A

Accessibility & contrast

On white

8.07
#9B1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9B1F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F18
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F18#FFFFFF#000000##FFFFFF
##9B1F181.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F15
Deuteranopia (green-blind)
#655A11
Tritanopia (blue-blind)
#AB001F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1f18;
/* rgb */ color: rgb(155, 31, 24);
/* oklch */ color: oklch(45.0% 0.161 28.7);
Tailwind
colors: {
  custom: {
    50: '#c26756',
    500: '#9b1f18',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f18;
$custom-light: #c26756;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f18",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 3.206,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.16081,
    "h": 28.7
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#9B1F18
secondary
#4ABEC5
accent
#E6F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9B1F18

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

Preview Lab → · Contrast checker → · Palette generator →

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