#22181A#22181A

#22181A is a very dark, near-neutral red. Relative luminance 0.011; OKLCH L 22.2% C 0.016 H 5.1°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#22181A
RGBrgb(34, 24, 26)
HSLhsl(348, 17%, 11%)
HSVhsv(348, 29%, 13%)
CMYKcmyk(0%, 29.4%, 23.5%, 86.7%)
CIE-LABlab(9.55, 5.43, 0.53)
CIE-LCHlch(9.55, 5.46, 5.57°)
OKLaboklab(22.23% 0.0164 0.0015)
OKLCHoklch(22.23% 0.016 5.1)
XYZxyz(1.1728, 1.0680, 1.1214)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22181A #182220
analogous
#22181F #22181A #221B18
triadic
#22181A #1A2218 #181A22
tetradic
#22181A #1F2218 #182220 #1B1822
square
#22181A #1F2218 #182220 #1B1822
split-complementary
#22181A #18221B #181F22
monochromatic
#120D0E #120D0E #22181A #463135 #6A4B51

Accessibility & contrast

On white

17.30
#22181A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#22181A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22181A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22181A#FFFFFF#000000##FFFFFF
##22181A1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1A
Deuteranopia (green-blind)
#1C1B1A
Tritanopia (blue-blind)
#241719
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #22181a;
/* rgb */ color: rgb(34, 24, 26);
/* oklch */ color: oklch(22.2% 0.016 5.1);
Tailwind
colors: {
  custom: {
    50: '#5d5456',
    500: '#22181a',
    950: '#000000',
  },
}
SCSS
$custom: #22181a;
$custom-light: #5d5456;
$custom-dark: #000000;
JSON
{
  "hex": "#22181a",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 26
  },
  "hsl": {
    "h": 348,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22229,
    "c": 0.01644,
    "h": 5.1
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#22181A
secondary
#425450
accent
#BAAB6E
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #22181A

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

Preview Lab → · Contrast checker → · Palette generator →

#22181A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva