#9F221B#9F221B

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

Color values

HEX#9F221B
RGBrgb(159, 34, 27)
HSLhsl(3, 71%, 36%)
HSVhsv(3, 83%, 62%)
CMYKcmyk(0%, 78.6%, 83%, 37.6%)
CIE-LABlab(35.20, 49.95, 36.37)
CIE-LCHlch(35.20, 61.79, 36.06°)
OKLaboklab(46.06% 0.1424 0.0776)
OKLCHoklch(46.06% 0.162 28.6)
XYZxyz(15.0698, 8.5965, 1.9025)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F221B #1B989F
analogous
#9F1B56 #9F221B #9F641B
triadic
#9F221B #1B9F22 #221B9F
tetradic
#9F221B #569F1B #1B989F #641B9F
square
#9F221B #569F1B #1B989F #641B9F
split-complementary
#9F221B #1B9F64 #1B569F
monochromatic
#360C09 #6B1712 #9F221B #D32D24 #E25A53

Accessibility & contrast

On white

7.72
#9F221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F221B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F221B#FFFFFF#000000##FFFFFF
##9F221B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f221b;
/* rgb */ color: rgb(159, 34, 27);
/* oklch */ color: oklch(46.1% 0.162 28.6);
Tailwind
colors: {
  custom: {
    50: '#c56959',
    500: '#9f221b',
    950: '#000000',
  },
}
SCSS
$custom: #9f221b;
$custom-light: #c56959;
$custom-dark: #000000;
JSON
{
  "hex": "#9f221b",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 3.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.16213,
    "h": 28.6
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#9F221B
secondary
#51BEC5
accent
#E4EE3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F221B

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

Preview Lab → · Contrast checker → · Palette generator →

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