#9B1F36#9B1F36

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

Color values

HEX#9B1F36
RGBrgb(155, 31, 54)
HSLhsl(349, 67%, 36%)
HSVhsv(349, 80%, 61%)
CMYKcmyk(0%, 80%, 65.2%, 39.2%)
CIE-LABlab(34.43, 50.86, 18.83)
CIE-LCHlch(34.43, 54.23, 20.31°)
OKLaboklab(45.47% 0.1518 0.0452)
OKLCHoklch(45.47% 0.158 16.6)
XYZxyz(14.6750, 8.2171, 4.3027)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F36 #1F9B84
analogous
#9B1F74 #9B1F36 #9B461F
triadic
#9B1F36 #369B1F #1F369B
tetradic
#9B1F36 #749B1F #1F9B84 #461F9B
square
#9B1F36 #749B1F #1F9B84 #461F9B
split-complementary
#9B1F36 #1F9B46 #1F749B
monochromatic
#350B12 #681524 #9B1F36 #CE2948 #DD5770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B1F36#FFFFFF#000000##FFFFFF
##9B1F361.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)
#434036
Deuteranopia (green-blind)
#635A32
Tritanopia (blue-blind)
#AA0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1f36;
/* rgb */ color: rgb(155, 31, 54);
/* oklch */ color: oklch(45.5% 0.158 16.6);
Tailwind
colors: {
  custom: {
    50: '#c0686c',
    500: '#9b1f36',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f36;
$custom-light: #c0686c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f36",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 348.871,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.15837,
    "h": 16.6
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#9B1F36
secondary
#55C1AD
accent
#EACA3E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9B1F36

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

Preview Lab → · Contrast checker → · Palette generator →

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