#9B1F34#9B1F34

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

Color values

HEX#9B1F34
RGBrgb(155, 31, 52)
HSLhsl(350, 67%, 36%)
HSVhsv(350, 80%, 61%)
CMYKcmyk(0%, 80%, 66.5%, 39.2%)
CIE-LABlab(34.39, 50.74, 20.07)
CIE-LCHlch(34.39, 54.57, 21.58°)
OKLaboklab(45.43% 0.151 0.0478)
OKLCHoklch(45.43% 0.158 17.6)
XYZxyz(14.6290, 8.1987, 4.0604)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1F34 #1F9B86
analogous
#9B1F72 #9B1F34 #9B481F
triadic
#9B1F34 #349B1F #1F349B
tetradic
#9B1F34 #729B1F #1F9B86 #481F9B
square
#9B1F34 #729B1F #1F9B86 #481F9B
split-complementary
#9B1F34 #1F9B48 #1F729B
monochromatic
#350B12 #681523 #9B1F34 #CE2945 #DD576E

Accessibility & contrast

On white

7.96
#9B1F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9B1F34
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1F34#FFFFFF#000000##FFFFFF
##9B1F341.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444034
Deuteranopia (green-blind)
#635A30
Tritanopia (blue-blind)
#AA0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9b1f34;
/* rgb */ color: rgb(155, 31, 52);
/* oklch */ color: oklch(45.4% 0.158 17.6);
Tailwind
colors: {
  custom: {
    50: '#c0676b',
    500: '#9b1f34',
    950: '#000000',
  },
}
SCSS
$custom: #9b1f34;
$custom-light: #c0676b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1f34",
  "rgb": {
    "r": 155,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 349.839,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45427,
    "c": 0.15838,
    "h": 17.6
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#9B1F34
secondary
#55C1AF
accent
#EACD3E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9B1F34

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

Preview Lab → · Contrast checker → · Palette generator →

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