#9E221F#9E221F

#9E221F is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 27.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9E221F
RGBrgb(158, 34, 31)
HSLhsl(1, 67%, 37%)
HSVhsv(1, 80%, 62%)
CMYKcmyk(0%, 78.5%, 80.4%, 38%)
CIE-LABlab(35.03, 49.76, 33.90)
CIE-LCHlch(35.03, 60.21, 34.26°)
OKLaboklab(45.91% 0.1427 0.0736)
OKLCHoklch(45.91% 0.161 27.3)
XYZxyz(14.9217, 8.5145, 2.1538)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E221F #1F9B9E
analogous
#9E1F5C #9E221F #9E611F
triadic
#9E221F #1F9E22 #221F9E
tetradic
#9E221F #5C9E1F #1F9B9E #611F9E
square
#9E221F #5C9E1F #1F9B9E #611F9E
split-complementary
#9E221F #1F9E61 #1F5C9E
monochromatic
#380C0B #6B1715 #9E221F #D12D29 #DE5C59

Accessibility & contrast

On white

7.77
#9E221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E221F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E221F#FFFFFF#000000##FFFFFF
##9E221F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411D
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#AE0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e221f;
/* rgb */ color: rgb(158, 34, 31);
/* oklch */ color: oklch(45.9% 0.161 27.3);
Tailwind
colors: {
  custom: {
    50: '#c4695b',
    500: '#9e221f',
    950: '#000000',
  },
}
SCSS
$custom: #9e221f;
$custom-light: #c4695b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e221f",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.417,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.16062,
    "h": 27.3
  },
  "luminance": 0.08512
}

Semantic roles & 50–950 ramp

primary
#9E221F
secondary
#56C0C2
accent
#E6EA3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E221F

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

Preview Lab → · Contrast checker → · Palette generator →

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