#9D221C#9D221C

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

Color values

HEX#9D221C
RGBrgb(157, 34, 28)
HSLhsl(3, 70%, 36%)
HSVhsv(3, 82%, 62%)
CMYKcmyk(0%, 78.3%, 82.2%, 38.4%)
CIE-LABlab(34.80, 49.35, 35.29)
CIE-LCHlch(34.80, 60.67, 35.57°)
OKLaboklab(45.69% 0.1409 0.0758)
OKLCHoklch(45.69% 0.16 28.3)
XYZxyz(14.6880, 8.3983, 1.9460)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D221C #1C979D
analogous
#9D1C57 #9D221C #9D631C
triadic
#9D221C #1C9D22 #221C9D
tetradic
#9D221C #579D1C #1C979D #631C9D
square
#9D221C #579D1C #1C979D #631C9D
split-complementary
#9D221C #1C9D63 #1C579D
monochromatic
#350C09 #691713 #9D221C #D12D25 #E05A53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D221C#FFFFFF#000000##FFFFFF
##9D221C1.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)
#49411A
Deuteranopia (green-blind)
#675B16
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d221c;
/* rgb */ color: rgb(157, 34, 28);
/* oklch */ color: oklch(45.7% 0.160 28.3);
Tailwind
colors: {
  custom: {
    50: '#c36859',
    500: '#9d221c',
    950: '#000000',
  },
}
SCSS
$custom: #9d221c;
$custom-light: #c36859;
$custom-dark: #000000;
JSON
{
  "hex": "#9d221c",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 2.791,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.16001,
    "h": 28.3
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#9D221C
secondary
#51BEC3
accent
#E4ED3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D221C

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

Preview Lab → · Contrast checker → · Palette generator →

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