#40252F

Closest named color: Space Cadet (#2B2D42). oklch(30.3% 0.044 356.2), rgb(64, 37, 47).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamuted (0.044)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.78:1

Values

HEX#40252F
RGBrgb(64, 37, 47)
HSLhsl(338, 27%, 20%)
OKLCHoklch(30.3% 0.044 356.2)

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 #40252F 13.78:1 AAA Lc -103.3 Preferred for body text
Black text on #40252F 1.52:1 Fails Lc 0.0 Not readable
#40252F text on white 13.78:1 AAA Lc 100.3 Preferred for body text
#40252F text on black 1.52: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

    #FAF4F5

    oklch(97.2% 0.007 5.6)

  2. Step 100

    100

    #F3E6EA

    oklch(93.6% 0.015 356.6)

  3. Step 200

    200

    #EAD2D9

    oklch(88.6% 0.028 358.1)

  4. Step 300

    300

    #DDB3C1

    oklch(80.8% 0.052 356.4)

  5. Step 400

    400

    #CB8BA2

    oklch(70.7% 0.083 356.2)

  6. Step 500

    500

    #BC6D8B

    oklch(63.1% 0.106 356.3)

  7. Step 600

    600

    #A75475

    oklch(55.6% 0.115 356.4)

  8. Step 700

    700

    #8F4462

    oklch(49.1% 0.107 356.5)

  9. Step 800

    800

    #743850

    oklch(42.6% 0.089 356.3)

  10. Step 900

    900

    #5E3143

    oklch(37.7% 0.069 355.5)

  11. Step 950

    950 (this color)

    #40252F

    oklch(30.3% 0.044 356.2)

Export this scale for Tailwind in the Tailwind colors tool

#40252F 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)#282A2F0.048
Deuteranopia (no green cones)#2F2F2E0.044
Tritanopia (no blue cones)#4424280.014
Achromatopsia (no color)#2D2D2D0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #40252F

    #40252F

    oklch(30.3% 0.044 356.2)

  • #12362E

    #12362E

    oklch(30.4% 0.044 176.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40252F

    #40252F

    oklch(30.3% 0.044 356.2)

  • #3A273A

    #3A273A

    oklch(30.3% 0.043 326.6)

  • #422623

    #422623

    oklch(30.4% 0.043 26.5)

Open the analogous palette in the generator

Split complementary

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

  • #40252F

    #40252F

    oklch(30.3% 0.044 356.2)

  • #203421

    #203421

    oklch(30.2% 0.043 145.6)

  • #0D3539

    #0D3539

    oklch(30.4% 0.044 204.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40252F

    #40252F

    oklch(30.3% 0.044 356.2)

  • #2D3117

    #2D3117

    oklch(30.2% 0.043 116.2)

  • #173241

    #173241

    oklch(30.3% 0.043 234.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40252F

    #40252F

    oklch(30.3% 0.044 356.2)

  • #382D13

    #382D13

    oklch(30.3% 0.043 86.7)

  • #12362E

    #12362E

    oklch(30.4% 0.044 176.3)

  • #242E45

    #242E45

    oklch(30.3% 0.044 265.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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