#9F221A#9F221A

#9F221A is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.162 H 28.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9F221A
RGBrgb(159, 34, 26)
HSLhsl(4, 72%, 36%)
HSVhsv(4, 84%, 62%)
CMYKcmyk(0%, 78.6%, 83.6%, 37.6%)
CIE-LABlab(35.19, 49.92, 36.91)
CIE-LCHlch(35.19, 62.08, 36.48°)
OKLaboklab(46.05% 0.1421 0.0784)
OKLCHoklch(46.05% 0.162 28.9)
XYZxyz(15.0584, 8.5920, 1.8426)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F221A #1A979F
analogous
#9F1A55 #9F221A #9F651A
triadic
#9F221A #1A9F22 #221A9F
tetradic
#9F221A #559F1A #1A979F #651A9F
square
#9F221A #559F1A #1A979F #651A9F
split-complementary
#9F221A #1A9F65 #1A559F
monochromatic
#360C09 #6A1711 #9F221A #D42D23 #E35A51

Accessibility & contrast

On white

7.73
#9F221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F221A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F221A#FFFFFF#000000##FFFFFF
##9F221A1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#685D13
Tritanopia (blue-blind)
#B00022
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f221a;
/* rgb */ color: rgb(159, 34, 26);
/* oklch */ color: oklch(46.0% 0.162 28.9);
Tailwind
colors: {
  custom: {
    50: '#c56958',
    500: '#9f221a',
    950: '#000000',
  },
}
SCSS
$custom: #9f221a;
$custom-light: #c56958;
$custom-dark: #000000;
JSON
{
  "hex": "#9f221a",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 3.609,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46049,
    "c": 0.16226,
    "h": 28.9
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#9F221A
secondary
#50BEC5
accent
#E4EF39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F221A

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

Preview Lab → · Contrast checker → · Palette generator →

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