#9B1F3E#9B1F3E

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

Color values

HEX#9B1F3E
RGBrgb(155, 31, 62)
HSLhsl(345, 67%, 36%)
HSVhsv(345, 80%, 61%)
CMYKcmyk(0%, 80%, 60%, 39.2%)
CIE-LABlab(34.60, 51.38, 13.87)
CIE-LCHlch(34.60, 53.22, 15.11°)
OKLaboklab(45.64% 0.155 0.0343)
OKLCHoklch(45.64% 0.159 12.5)
XYZxyz(14.8786, 8.2985, 5.3748)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F3E #1F9B7C
analogous
#9B1F7C #9B1F3E #9B3E1F
triadic
#9B1F3E #3E9B1F #1F3E9B
tetradic
#9B1F3E #7C9B1F #1F9B7C #3E1F9B
square
#9B1F3E #7C9B1F #1F9B7C #3E1F9B
split-complementary
#9B1F3E #1F9B3E #1F7C9B
monochromatic
#350B15 #68152A #9B1F3E #CE2952 #DD5779

Accessibility & contrast

On white

7.90
#9B1F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9B1F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B1F3E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F3E#FFFFFF#000000##FFFFFF
##9B1F3E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413E
Deuteranopia (green-blind)
#625A3B
Tritanopia (blue-blind)
#AA002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1f3e;
/* rgb */ color: rgb(155, 31, 62);
/* oklch */ color: oklch(45.6% 0.159 12.5);
Tailwind
colors: {
  custom: {
    50: '#bf6873',
    500: '#9b1f3e',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f3e;
$custom-light: #bf6873;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f3e",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 345,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.15879,
    "h": 12.5
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

primary
#9B1F3E
secondary
#55C1A6
accent
#EABF3E
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B

Preview Lab

Preview with #9B1F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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