#9A1F22#9A1F22

#9A1F22 is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.9% C 0.159 H 25.4°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9A1F22
RGBrgb(154, 31, 34)
HSLhsl(359, 66%, 36%)
HSVhsv(359, 80%, 60%)
CMYKcmyk(0%, 79.9%, 77.9%, 39.6%)
CIE-LABlab(33.92, 49.58, 30.71)
CIE-LCHlch(33.92, 58.32, 31.78°)
OKLaboklab(44.95% 0.1433 0.068)
OKLCHoklch(44.95% 0.159 25.4)
XYZxyz(14.1068, 7.9677, 2.3082)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F22 #1F9A97
analogous
#9A1F60 #9A1F22 #9A5A1F
triadic
#9A1F22 #229A1F #1F229A
tetradic
#9A1F22 #609A1F #1F9A97 #5A1F9A
square
#9A1F22 #609A1F #1F9A97 #5A1F9A
split-complementary
#9A1F22 #1F9A5A #1F609A
monochromatic
#340A0C #671517 #9A1F22 #CD292D #DD565A

Accessibility & contrast

On white

8.10
#9A1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#9A1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F22
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F22#FFFFFF#000000##FFFFFF
##9A1F221.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F21
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#AA0022
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9a1f22;
/* rgb */ color: rgb(154, 31, 34);
/* oklch */ color: oklch(44.9% 0.159 25.4);
Tailwind
colors: {
  custom: {
    50: '#c0675d',
    500: '#9a1f22',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f22;
$custom-light: #c0675d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f22",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.537,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.15859,
    "h": 25.4
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#9A1F22
secondary
#54C1BE
accent
#E9E53E
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #9A1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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