#9F1A2F#9F1A2F

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

Color values

HEX#9F1A2F
RGBrgb(159, 26, 47)
HSLhsl(351, 72%, 36%)
HSVhsv(351, 84%, 62%)
CMYKcmyk(0%, 83.6%, 70.4%, 37.6%)
CIE-LABlab(34.64, 53.04, 23.74)
CIE-LCHlch(34.64, 58.11, 24.12°)
OKLaboklab(45.72% 0.1566 0.0552)
OKLCHoklch(45.72% 0.166 19.4)
XYZxyz(15.1823, 8.3174, 3.4948)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A2F #1A9F8A
analogous
#9F1A72 #9F1A2F #9F481A
triadic
#9F1A2F #2F9F1A #1A2F9F
tetradic
#9F1A2F #729F1A #1A9F8A #481A9F
square
#9F1A2F #729F1A #1A9F8A #481A9F
split-complementary
#9F1A2F #1A9F48 #1A729F
monochromatic
#360910 #6A111F #9F1A2F #D4233F #E35168

Accessibility & contrast

On white

7.89
#9F1A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A2F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A2F#FFFFFF#000000##FFFFFF
##9F1A2F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402F
Deuteranopia (green-blind)
#655B2B
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a2f;
/* rgb */ color: rgb(159, 26, 47);
/* oklch */ color: oklch(45.7% 0.166 19.4);
Tailwind
colors: {
  custom: {
    50: '#c46667',
    500: '#9f1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a2f;
$custom-light: #c46667;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a2f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 350.526,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45723,
    "c": 0.16609,
    "h": 19.4
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#9F1A2F
secondary
#50C5B3
accent
#EFD239
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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