#40222D

Closest named color: Space Cadet (#2B2D42). oklch(29.6% 0.049 357), rgb(64, 34, 45).

Aa

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

About this color

#40222D is a dark, muted red. In OKLCH its lightness is 30%, its chroma 0.049 and its hue 357°. Its hue sits on the warm side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.055 away. White text reads best on it, at 14.14:1.

Hue familyReds
Lightnessdark (30%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.14:1

Values

HEX#40222D
RGBrgb(64, 34, 45)
HSLhsl(338, 31%, 19%)
OKLCHoklch(29.6% 0.049 357)

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 #40222D 14.14:1 AAA Lc -103.7 Preferred for body text
Black text on #40222D 1.48:1 Fails Lc 0.0 Not readable
#40222D text on white 14.14:1 AAA Lc 100.7 Preferred for body text
#40222D text on black 1.48: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

    #FAF3F5

    oklch(97% 0.008 357.8)

  2. Step 100

    100

    #F4E5EA

    oklch(93.5% 0.018 355.1)

  3. Step 200

    200

    #ECD1D9

    oklch(88.5% 0.032 357.9)

  4. Step 300

    300

    #E0B2C1

    oklch(80.9% 0.057 357)

  5. Step 400

    400

    #CF88A1

    oklch(70.6% 0.092 357)

  6. Step 500

    500

    #C1698A

    oklch(63% 0.118 357.2)

  7. Step 600

    600

    #AC4F74

    oklch(55.5% 0.128 357.1)

  8. Step 700

    700

    #934062

    oklch(49.1% 0.118 356.6)

  9. Step 800

    800

    #783550

    oklch(42.7% 0.099 356.8)

  10. Step 900

    900

    #612F42

    oklch(37.7% 0.076 357.3)

  11. Step 950

    950 (this color)

    #40222D

    oklch(29.6% 0.049 357)

Export this scale for Tailwind in the Tailwind colors tool

#40222D 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)#26282D0.053
Deuteranopia (no green cones)#2D2D2C0.049
Tritanopia (no blue cones)#4420260.014
Achromatopsia (no color)#2B2B2B0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #40222D

    #40222D

    oklch(29.6% 0.049 357)

  • #09352C

    #09352C

    oklch(29.7% 0.049 175.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40222D

    #40222D

    oklch(29.6% 0.049 357)

  • #3A2439

    #3A2439

    oklch(29.7% 0.048 328.3)

  • #42231F

    #42231F

    oklch(29.6% 0.048 28.1)

Open the analogous palette in the generator

Split complementary

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

  • #40222D

    #40222D

    oklch(29.6% 0.049 357)

  • #1B331E

    #1B331E

    oklch(29.5% 0.048 147.2)

  • #033339

    #033339

    oklch(29.4% 0.049 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40222D

    #40222D

    oklch(29.6% 0.049 357)

  • #2B3012

    #2B3012

    oklch(29.6% 0.049 117.3)

  • #113042

    #113042

    oklch(29.5% 0.049 237.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40222D

    #40222D

    oklch(29.6% 0.049 357)

  • #372B0D

    #372B0D

    oklch(29.6% 0.048 87.1)

  • #09352C

    #09352C

    oklch(29.7% 0.049 175.9)

  • #222C45

    #222C45

    oklch(29.6% 0.048 266.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40222D 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.