#9F221C#9F221C

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

Color values

HEX#9F221C
RGBrgb(159, 34, 28)
HSLhsl(3, 70%, 37%)
HSVhsv(3, 82%, 62%)
CMYKcmyk(0%, 78.6%, 82.4%, 37.6%)
CIE-LABlab(35.20, 49.98, 35.83)
CIE-LCHlch(35.20, 61.49, 35.64°)
OKLaboklab(46.07% 0.1427 0.0767)
OKLCHoklch(46.07% 0.162 28.3)
XYZxyz(15.0815, 8.6012, 1.9645)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F221C #1C999F
analogous
#9F1C58 #9F221C #9F641C
triadic
#9F221C #1C9F22 #221C9F
tetradic
#9F221C #589F1C #1C999F #641C9F
square
#9F221C #589F1C #1C999F #641C9F
split-complementary
#9F221C #1C9F64 #1C589F
monochromatic
#370C0A #6B1713 #9F221C #D32D25 #E15B54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F221C#FFFFFF#000000##FFFFFF
##9F221C1.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)
#49411A
Deuteranopia (green-blind)
#685D16
Tritanopia (blue-blind)
#B00022
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f221c;
/* rgb */ color: rgb(159, 34, 28);
/* oklch */ color: oklch(46.1% 0.162 28.3);
Tailwind
colors: {
  custom: {
    50: '#c56959',
    500: '#9f221c',
    950: '#000000',
  },
}
SCSS
$custom: #9f221c;
$custom-light: #c56959;
$custom-dark: #000000;
JSON
{
  "hex": "#9f221c",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 2.748,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.16201,
    "h": 28.3
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#9F221C
secondary
#53BFC4
accent
#E5ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9F221C

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

Preview Lab → · Contrast checker → · Palette generator →

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