#22040A#22040A

#22040A is a very dark, muted red. Relative luminance 0.004; OKLCH L 17.2% C 0.054 H 10.7°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#22040A
RGBrgb(34, 4, 10)
HSLhsl(348, 79%, 7%)
HSVhsv(348, 88%, 13%)
CMYKcmyk(0%, 88.2%, 70.6%, 86.7%)
CIE-LABlab(4.05, 13.57, 2.22)
CIE-LCHlch(4.05, 13.75, 9.28°)
OKLaboklab(17.18% 0.0528 0.01)
OKLCHoklch(17.18% 0.054 10.7)
XYZxyz(0.7580, 0.4489, 0.3338)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22040A #04221C
analogous
#220419 #22040A #220D04
triadic
#22040A #0A2204 #040A22
tetradic
#22040A #192204 #04221C #0D0422
square
#22040A #192204 #04221C #0D0422
split-complementary
#22040A #04220D #041922
monochromatic
#1B0308 #1B0308 #22040A #590A1A #90112A

Accessibility & contrast

On white

19.27
#22040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#22040A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22040A
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22040A#FFFFFF#000000##FFFFFF
##22040A1.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0A0A
Deuteranopia (green-blind)
#121109
Tritanopia (blue-blind)
#260106
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #22040a;
/* rgb */ color: rgb(34, 4, 10);
/* oklch */ color: oklch(17.2% 0.054 10.7);
Tailwind
colors: {
  custom: {
    50: '#5d484b',
    500: '#22040a',
    950: '#000000',
  },
}
SCSS
$custom: #22040a;
$custom-light: #5d484b;
$custom-dark: #000000;
JSON
{
  "hex": "#22040a",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 348,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17182,
    "c": 0.0537,
    "h": 10.7
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#22040A
secondary
#1D6556
accent
#F5CE32
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #22040A

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

Preview Lab → · Contrast checker → · Palette generator →

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