#9D221F#9D221F

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

Color values

HEX#9D221F
RGBrgb(157, 34, 31)
HSLhsl(1, 67%, 37%)
HSVhsv(1, 80%, 62%)
CMYKcmyk(0%, 78.3%, 80.3%, 38.4%)
CIE-LABlab(34.83, 49.45, 33.62)
CIE-LCHlch(34.83, 59.80, 34.21°)
OKLaboklab(45.73% 0.1419 0.0732)
OKLCHoklch(45.73% 0.16 27.3)
XYZxyz(14.7258, 8.4134, 2.1446)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D221F #1F9A9D
analogous
#9D1F5B #9D221F #9D611F
triadic
#9D221F #1F9D22 #221F9D
tetradic
#9D221F #5B9D1F #1F9A9D #611F9D
square
#9D221F #5B9D1F #1F9A9D #611F9D
split-complementary
#9D221F #1F9D61 #1F5B9D
monochromatic
#370C0B #6A1715 #9D221F #D02D29 #DE5C58

Accessibility & contrast

On white

7.83
#9D221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D221F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D221F#FFFFFF#000000##FFFFFF
##9D221F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d221f;
/* rgb */ color: rgb(157, 34, 31);
/* oklch */ color: oklch(45.7% 0.160 27.3);
Tailwind
colors: {
  custom: {
    50: '#c3685b',
    500: '#9d221f',
    950: '#000000',
  },
}
SCSS
$custom: #9d221f;
$custom-light: #c3685b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d221f",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.429,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.15963,
    "h": 27.3
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D221F

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

Preview Lab → · Contrast checker → · Palette generator →

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