#9B1F28#9B1F28

#9B1F28 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.159 H 23.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9B1F28
RGBrgb(155, 31, 40)
HSLhsl(356, 67%, 36%)
HSVhsv(356, 80%, 61%)
CMYKcmyk(0%, 80%, 74.2%, 39.2%)
CIE-LABlab(34.20, 50.13, 27.42)
CIE-LCHlch(34.20, 57.14, 28.68°)
OKLaboklab(45.22% 0.1463 0.0622)
OKLCHoklch(45.22% 0.159 23)
XYZxyz(14.3922, 8.1040, 2.8135)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F28 #1F9B92
analogous
#9B1F66 #9B1F28 #9B541F
triadic
#9B1F28 #289B1F #1F289B
tetradic
#9B1F28 #669B1F #1F9B92 #541F9B
square
#9B1F28 #669B1F #1F9B92 #541F9B
split-complementary
#9B1F28 #1F9B54 #1F669B
monochromatic
#350B0E #68151B #9B1F28 #CE2935 #DD5761

Accessibility & contrast

On white

8.01
#9B1F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9B1F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F28
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F28#FFFFFF#000000##FFFFFF
##9B1F281.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#AB0024
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9b1f28;
/* rgb */ color: rgb(155, 31, 40);
/* oklch */ color: oklch(45.2% 0.159 23.0);
Tailwind
colors: {
  custom: {
    50: '#c16762',
    500: '#9b1f28',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f28;
$custom-light: #c16762;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f28",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 355.645,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.15898,
    "h": 23
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#9B1F28
secondary
#55C1B9
accent
#EADD3E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9B1F28

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

Preview Lab → · Contrast checker → · Palette generator →

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