#9B1F37#9B1F37

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

Color values

HEX#9B1F37
RGBrgb(155, 31, 55)
HSLhsl(348, 67%, 36%)
HSVhsv(348, 80%, 61%)
CMYKcmyk(0%, 80%, 64.5%, 39.2%)
CIE-LABlab(34.45, 50.92, 18.21)
CIE-LCHlch(34.45, 54.08, 19.68°)
OKLaboklab(45.49% 0.1522 0.0439)
OKLCHoklch(45.49% 0.158 16.1)
XYZxyz(14.6987, 8.2266, 4.4276)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F37 #1F9B83
analogous
#9B1F75 #9B1F37 #9B451F
triadic
#9B1F37 #379B1F #1F379B
tetradic
#9B1F37 #759B1F #1F9B83 #451F9B
square
#9B1F37 #759B1F #1F9B83 #451F9B
split-complementary
#9B1F37 #1F9B45 #1F759B
monochromatic
#350B13 #681525 #9B1F37 #CE2949 #DD5771

Accessibility & contrast

On white

7.94
#9B1F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F37
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F37#FFFFFF#000000##FFFFFF
##9B1F371.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434137
Deuteranopia (green-blind)
#635A34
Tritanopia (blue-blind)
#AA0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1f37;
/* rgb */ color: rgb(155, 31, 55);
/* oklch */ color: oklch(45.5% 0.158 16.1);
Tailwind
colors: {
  custom: {
    50: '#c0686d',
    500: '#9b1f37',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f37;
$custom-light: #c0686d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f37",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 55
  },
  "hsl": {
    "h": 348.387,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.1584,
    "h": 16.1
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#9B1F37
secondary
#55C1AC
accent
#EAC83E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9B1F37

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

Preview Lab → · Contrast checker → · Palette generator →

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