#40202F

Closest named color: Space Cadet (#2B2D42). oklch(29.3% 0.054 351.4), rgb(64, 32, 47).

Aa

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

About this color

#40202F is a dark, muted red. In OKLCH its lightness is 29%, its chroma 0.054 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.057 away. White text reads best on it, at 14.32:1.

Hue familyReds
Lightnessdark (29%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.46:1
White text14.32:1

Values

HEX#40202F
RGBrgb(64, 32, 47)
HSLhsl(332, 33%, 19%)
OKLCHoklch(29.3% 0.054 351.4)

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 #40202F 14.32:1 AAA Lc -103.9 Preferred for body text
Black text on #40202F 1.46:1 Fails Lc 0.0 Not readable
#40202F text on white 14.32:1 AAA Lc 100.9 Preferred for body text
#40202F text on black 1.46: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

    #FAF3F6

    oklch(97% 0.008 349.2)

  2. Step 100

    100

    #F4E5EB

    oklch(93.6% 0.018 351.2)

  3. Step 200

    200

    #EDD0DC

    oklch(88.5% 0.036 350.9)

  4. Step 300

    300

    #E2B0C5

    oklch(80.9% 0.064 351.6)

  5. Step 400

    400

    #D186A8

    oklch(70.7% 0.101 351.3)

  6. Step 500

    500

    #C36592

    oklch(63% 0.13 351.4)

  7. Step 600

    600

    #AF4B7D

    oklch(55.7% 0.142 351.5)

  8. Step 700

    700

    #963B69

    oklch(49.1% 0.132 351.6)

  9. Step 800

    800

    #7A3256

    oklch(42.8% 0.109 351.5)

  10. Step 900

    900

    #622C47

    oklch(37.6% 0.085 350.7)

  11. Step 950

    950 (this color)

    #40202F

    oklch(29.3% 0.054 351.4)

Export this scale for Tailwind in the Tailwind colors tool

#40202F 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)#2327300.059
Deuteranopia (no green cones)#2C2C2E0.052
Tritanopia (no blue cones)#441F250.019
Achromatopsia (no color)#2A2A2A0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #40202F

    #40202F

    oklch(29.3% 0.054 351.4)

  • #043429

    #043429

    oklch(29.1% 0.053 172.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40202F

    #40202F

    oklch(29.3% 0.054 351.4)

  • #38223C

    #38223C

    oklch(29.1% 0.055 321.3)

  • #432020

    #432020

    oklch(29.2% 0.054 20.9)

Open the analogous palette in the generator

Split complementary

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

  • #40202F

    #40202F

    oklch(29.3% 0.054 351.4)

  • #1C3319

    #1C3319

    oklch(29.4% 0.054 141.5)

  • #003336

    #003336

    oklch(29.2% 0.05 201.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40202F

    #40202F

    oklch(29.3% 0.054 351.4)

  • #2D2E0A

    #2D2E0A

    oklch(29.2% 0.054 110.8)

  • #073042

    #073042

    oklch(29.2% 0.054 232.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40202F

    #40202F

    oklch(29.3% 0.054 351.4)

  • #392907

    #392907

    oklch(29.3% 0.053 82.3)

  • #043429

    #043429

    oklch(29.1% 0.053 172.9)

  • #1D2C47

    #1D2C47

    oklch(29.4% 0.054 261.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40202F 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.