#40262D

Closest named color: Space Cadet (#2B2D42). oklch(30.4% 0.041 2.3), rgb(64, 38, 45).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamuted (0.041)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.53:1
White text13.69:1

Values

HEX#40262D
RGBrgb(64, 38, 45)
HSLhsl(344, 25%, 20%)
OKLCHoklch(30.4% 0.041 2.3)

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 #40262D 13.69:1 AAA Lc -103.3 Preferred for body text
Black text on #40262D 1.53:1 Fails Lc 0.0 Not readable
#40262D text on white 13.69:1 AAA Lc 100.2 Preferred for body text
#40262D text on black 1.53: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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F3E6E9

    oklch(93.6% 0.015 1.6)

  3. Step 200

    200

    #E9D2D7

    oklch(88.4% 0.026 2.8)

  4. Step 300

    300

    #DDB4BE

    oklch(80.9% 0.049 1.9)

  5. Step 400

    400

    #CA8D9C

    oklch(70.8% 0.076 3.1)

  6. Step 500

    500

    #BB6F84

    oklch(63.1% 0.099 2.5)

  7. Step 600

    600

    #A6576E

    oklch(55.7% 0.106 2.6)

  8. Step 700

    700

    #8E465C

    oklch(49.1% 0.1 2.1)

  9. Step 800

    800

    #733A4B

    oklch(42.6% 0.082 2.2)

  10. Step 900

    900

    #5D323F

    oklch(37.6% 0.064 1.2)

  11. Step 950

    950 (this color)

    #40262D

    oklch(30.4% 0.041 2.3)

Export this scale for Tailwind in the Tailwind colors tool

#40262D 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)#2A2B2D0.044
Deuteranopia (no green cones)#302F2C0.041
Tritanopia (no blue cones)#4424280.011
Achromatopsia (no color)#2D2D2D0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #40262D

    #40262D

    oklch(30.4% 0.041 2.3)

  • #143530

    #143530

    oklch(30.3% 0.04 182.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40262D

    #40262D

    oklch(30.4% 0.041 2.3)

  • #3B2738

    #3B2738

    oklch(30.4% 0.041 331.9)

  • #412722

    #412722

    oklch(30.4% 0.041 31.4)

Open the analogous palette in the generator

Split complementary

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

  • #40262D

    #40262D

    oklch(30.4% 0.041 2.3)

  • #1E3525

    #1E3525

    oklch(30.4% 0.041 153.1)

  • #12343B

    #12343B

    oklch(30.3% 0.041 213.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40262D

    #40262D

    oklch(30.4% 0.041 2.3)

  • #2B321B

    #2B321B

    oklch(30.4% 0.04 122.6)

  • #1C3142

    #1C3142

    oklch(30.4% 0.041 244.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40262D

    #40262D

    oklch(30.4% 0.041 2.3)

  • #362E16

    #362E16

    oklch(30.3% 0.04 91.5)

  • #143530

    #143530

    oklch(30.3% 0.04 182.3)

  • #282D43

    #282D43

    oklch(30.3% 0.041 273.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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