#22040D

Closest named color: Very Dark Brown (#1D0200). oklch(17.3% 0.054 4.5), rgb(34, 4, 13).

Aa

White text reads best on this color (19.24:1).

About this color

#22040D is a very dark, muted red. In OKLCH its lightness is 17%, its chroma 0.054 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.035 away. White text reads best on it, at 19.24:1.

Hue familyReds
Lightnessvery dark (17%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.09:1
White text19.24:1

Values

HEX#22040D
RGBrgb(34, 4, 13)
HSLhsl(342, 79%, 7%)
OKLCHoklch(17.3% 0.054 4.5)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #22040D 19.24:1 AAA Lc -107.3 Preferred for body text
Black text on #22040D 1.09:1 Fails Lc 0.0 Not readable
#22040D text on white 19.24:1 AAA Lc 105.2 Preferred for body text
#22040D text on black 1.09:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E5E8

    oklch(93.6% 0.019 5.3)

  3. Step 200

    200

    #EFD0D6

    oklch(88.5% 0.036 4.7)

  4. Step 300

    300

    #E6B0BB

    oklch(81% 0.064 5)

  5. Step 400

    400

    #D78598

    oklch(70.8% 0.103 5)

  6. Step 500

    500

    #CA647F

    oklch(63.1% 0.132 4.8)

  7. Step 600

    600

    #B54969

    oklch(55.7% 0.143 4.5)

  8. Step 700

    700

    #9B3957

    oklch(49% 0.133 4.5)

  9. Step 800

    800

    #7E3047

    oklch(42.6% 0.11 4.7)

  10. Step 900

    900

    #662B3C

    oklch(37.7% 0.087 4.1)

  11. Step 950

    950 (this color)

    #22040D

    oklch(17.3% 0.054 4.5)

Export this scale for Tailwind in the Tailwind colors tool

#22040D with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0A0A0D0.060
Deuteranopia (no green cones)#12110C0.056
Tritanopia (no blue cones)#2602070.015
Achromatopsia (no color)#0E0E0E0.055

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #22040D

    #22040D

    oklch(17.3% 0.054 4.5)

  • #001412

    #001412

    oklch(17.2% 0.03 186.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #22040D

    #22040D

    oklch(17.3% 0.054 4.5)

  • #1D0519

    #1D0519

    oklch(17.1% 0.055 334.5)

  • #230501

    #230501

    oklch(17.3% 0.055 35.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #22040D

    #22040D

    oklch(17.3% 0.054 4.5)

  • #001507

    #001507

    oklch(17.2% 0.043 154.3)

  • #001318

    #001318

    oklch(17.2% 0.03 214.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #22040D

    #22040D

    oklch(17.3% 0.054 4.5)

  • #0C1300

    #0C1300

    oklch(17.3% 0.043 124.4)

  • #001121

    #001121

    oklch(17.2% 0.043 244.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #22040D

    #22040D

    oklch(17.3% 0.054 4.5)

  • #151000

    #151000

    oklch(17.4% 0.036 96)

  • #001412

    #001412

    oklch(17.2% 0.03 186.8)

  • #0A0D27

    #0A0D27

    oklch(17.4% 0.053 274.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #22040D, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #22040D in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.