#9E221B#9E221B

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

Color values

HEX#9E221B
RGBrgb(158, 34, 27)
HSLhsl(3, 71%, 36%)
HSVhsv(3, 83%, 62%)
CMYKcmyk(0%, 78.5%, 82.9%, 38%)
CIE-LABlab(34.99, 49.64, 36.10)
CIE-LCHlch(34.99, 61.38, 36.03°)
OKLaboklab(45.87% 0.1415 0.0771)
OKLCHoklch(45.87% 0.161 28.6)
XYZxyz(14.8722, 8.4947, 1.8933)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E221B #1B979E
analogous
#9E1B56 #9E221B #9E641B
triadic
#9E221B #1B9E22 #221B9E
tetradic
#9E221B #569E1B #1B979E #641B9E
square
#9E221B #569E1B #1B979E #641B9E
split-complementary
#9E221B #1B9E64 #1B569E
monochromatic
#350C09 #6A1712 #9E221B #D22D24 #E15A52

Accessibility & contrast

On white

7.78
#9E221B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E221B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E221B#FFFFFF#000000##FFFFFF
##9E221B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494119
Deuteranopia (green-blind)
#675C15
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e221b;
/* rgb */ color: rgb(158, 34, 27);
/* oklch */ color: oklch(45.9% 0.161 28.6);
Tailwind
colors: {
  custom: {
    50: '#c46959',
    500: '#9e221b',
    950: '#000000',
  },
}
SCSS
$custom: #9e221b;
$custom-light: #c46959;
$custom-dark: #000000;
JSON
{
  "hex": "#9e221b",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 3.206,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.16114,
    "h": 28.6
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E221B

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

Preview Lab → · Contrast checker → · Palette generator →

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