#9F1B32#9F1B32

#9F1B32 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.165 H 18.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9F1B32
RGBrgb(159, 27, 50)
HSLhsl(350, 71%, 36%)
HSVhsv(350, 83%, 62%)
CMYKcmyk(0%, 83%, 68.6%, 37.6%)
CIE-LABlab(34.78, 52.93, 22.01)
CIE-LCHlch(34.78, 57.32, 22.57°)
OKLaboklab(45.85% 0.157 0.0518)
OKLCHoklch(45.85% 0.165 18.3)
XYZxyz(15.2675, 8.3875, 3.8320)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B32 #1B9F88
analogous
#9F1B74 #9F1B32 #9F461B
triadic
#9F1B32 #329F1B #1B329F
tetradic
#9F1B32 #749F1B #1B9F88 #461B9F
square
#9F1B32 #749F1B #1B9F88 #461B9F
split-complementary
#9F1B32 #1B9F46 #1B749F
monochromatic
#360911 #6B1222 #9F1B32 #D32442 #E2536C

Accessibility & contrast

On white

7.84
#9F1B32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F1B32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B32
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B32#FFFFFF#000000##FFFFFF
##9F1B321.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444032
Deuteranopia (green-blind)
#655C2E
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b32;
/* rgb */ color: rgb(159, 27, 50);
/* oklch */ color: oklch(45.8% 0.165 18.3);
Tailwind
colors: {
  custom: {
    50: '#c36769',
    500: '#9f1b32',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b32;
$custom-light: #c36769;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b32",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 50
  },
  "hsl": {
    "h": 349.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.16532,
    "h": 18.3
  },
  "luminance": 0.08385
}

Semantic roles & 50–950 ramp

primary
#9F1B32
secondary
#51C5B0
accent
#EECE3A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1B32

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

Preview Lab → · Contrast checker → · Palette generator →

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