#9A221F#9A221F

#9A221F is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.157 H 27.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9A221F
RGBrgb(154, 34, 31)
HSLhsl(1, 66%, 36%)
HSVhsv(1, 80%, 60%)
CMYKcmyk(0%, 77.9%, 79.9%, 39.6%)
CIE-LABlab(34.22, 48.51, 32.81)
CIE-LCHlch(34.22, 58.56, 34.07°)
OKLaboklab(45.17% 0.1393 0.0716)
OKLCHoklch(45.17% 0.157 27.2)
XYZxyz(14.1475, 8.1153, 2.1175)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A221F #1F979A
analogous
#9A1F5A #9A221F #9A601F
triadic
#9A221F #1F9A22 #221F9A
tetradic
#9A221F #5A9A1F #1F979A #601F9A
square
#9A221F #5A9A1F #1F979A #601F9A
split-complementary
#9A221F #1F9A60 #1F5A9A
monochromatic
#340C0A #671715 #9A221F #CD2D29 #DD5A56

Accessibility & contrast

On white

8.01
#9A221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#9A221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A221F
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A221F#FFFFFF#000000##FFFFFF
##9A221F1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401D
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#AA0023
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a221f;
/* rgb */ color: rgb(154, 34, 31);
/* oklch */ color: oklch(45.2% 0.157 27.2);
Tailwind
colors: {
  custom: {
    50: '#c0685b',
    500: '#9a221f',
    950: '#000000',
  },
}
SCSS
$custom: #9a221f;
$custom-light: #c0685b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a221f",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.463,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45166,
    "c": 0.15661,
    "h": 27.2
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#9A221F
secondary
#54BEC1
accent
#E5E93E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9A221F

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

Preview Lab → · Contrast checker → · Palette generator →

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