#9F1A2B#9F1A2B

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

Color values

HEX#9F1A2B
RGBrgb(159, 26, 43)
HSLhsl(352, 72%, 36%)
HSVhsv(352, 84%, 62%)
CMYKcmyk(0%, 83.6%, 73%, 37.6%)
CIE-LABlab(34.57, 52.85, 26.20)
CIE-LCHlch(34.57, 58.98, 26.37°)
OKLaboklab(45.66% 0.1551 0.0599)
OKLCHoklch(45.66% 0.166 21.1)
XYZxyz(15.1053, 8.2866, 3.0891)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A2B #1A9F8E
analogous
#9F1A6E #9F1A2B #9F4C1A
triadic
#9F1A2B #2B9F1A #1A2B9F
tetradic
#9F1A2B #6E9F1A #1A9F8E #4C1A9F
square
#9F1A2B #6E9F1A #1A9F8E #4C1A9F
split-complementary
#9F1A2B #1A9F4C #1A6E9F
monochromatic
#36090F #6A111D #9F1A2B #D42339 #E35163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A2B#FFFFFF#000000##FFFFFF
##9F1A2B1.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)
#453F2A
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a2b;
/* rgb */ color: rgb(159, 26, 43);
/* oklch */ color: oklch(45.7% 0.166 21.1);
Tailwind
colors: {
  custom: {
    50: '#c46664',
    500: '#9f1a2b',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a2b;
$custom-light: #c46664;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a2b",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 352.331,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.16628,
    "h": 21.1
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#9F1A2B
secondary
#50C5B6
accent
#EFD739
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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