#9D221A#9D221A

#9D221A is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.160 H 28.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9D221A
RGBrgb(157, 34, 26)
HSLhsl(4, 72%, 36%)
HSVhsv(4, 83%, 62%)
CMYKcmyk(0%, 78.3%, 83.4%, 38.4%)
CIE-LABlab(34.78, 49.29, 36.38)
CIE-LCHlch(34.78, 61.26, 36.43°)
OKLaboklab(45.67% 0.1404 0.0774)
OKLCHoklch(45.67% 0.16 28.9)
XYZxyz(14.6649, 8.3891, 1.8242)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D221A #1A959D
analogous
#9D1A53 #9D221A #9D631A
triadic
#9D221A #1A9D22 #221A9D
tetradic
#9D221A #539D1A #1A959D #631A9D
square
#9D221A #539D1A #1A959D #631A9D
split-complementary
#9D221A #1A9D63 #1A539D
monochromatic
#340B09 #681711 #9D221A #D22D23 #E2584F

Accessibility & contrast

On white

7.84
#9D221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D221A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D221A
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D221A#FFFFFF#000000##FFFFFF
##9D221A1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#675B13
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d221a;
/* rgb */ color: rgb(157, 34, 26);
/* oklch */ color: oklch(45.7% 0.160 28.9);
Tailwind
colors: {
  custom: {
    50: '#c36858',
    500: '#9d221a',
    950: '#000000',
  },
}
SCSS
$custom: #9d221a;
$custom-light: #c36858;
$custom-dark: #000000;
JSON
{
  "hex": "#9d221a",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 3.664,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.16028,
    "h": 28.9
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#9D221A
secondary
#4EBDC4
accent
#E3EE39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D221A

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

Preview Lab → · Contrast checker → · Palette generator →

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