#9D221B#9D221B

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

Color values

HEX#9D221B
RGBrgb(157, 34, 27)
HSLhsl(3, 71%, 36%)
HSVhsv(3, 83%, 62%)
CMYKcmyk(0%, 78.3%, 82.8%, 38.4%)
CIE-LABlab(34.79, 49.32, 35.84)
CIE-LCHlch(34.79, 60.97, 36.00°)
OKLaboklab(45.68% 0.1406 0.0766)
OKLCHoklch(45.68% 0.16 28.6)
XYZxyz(14.6763, 8.3936, 1.8841)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D221B #1B969D
analogous
#9D1B55 #9D221B #9D631B
triadic
#9D221B #1B9D22 #221B9D
tetradic
#9D221B #559D1B #1B969D #631B9D
square
#9D221B #559D1B #1B969D #631B9D
split-complementary
#9D221B #1B9D63 #1B559D
monochromatic
#350B09 #691712 #9D221B #D12D24 #E15951

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D221B#FFFFFF#000000##FFFFFF
##9D221B1.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)
#494119
Deuteranopia (green-blind)
#675B15
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d221b;
/* rgb */ color: rgb(157, 34, 27);
/* oklch */ color: oklch(45.7% 0.160 28.6);
Tailwind
colors: {
  custom: {
    50: '#c36859',
    500: '#9d221b',
    950: '#000000',
  },
}
SCSS
$custom: #9d221b;
$custom-light: #c36859;
$custom-dark: #000000;
JSON
{
  "hex": "#9d221b",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 3.231,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45684,
    "c": 0.16014,
    "h": 28.6
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#9D221B
secondary
#50BEC4
accent
#E4ED3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D221B

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

Preview Lab → · Contrast checker → · Palette generator →

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