#40242D

Closest named color: Space Cadet (#2B2D42). oklch(30% 0.045 359.4), rgb(64, 36, 45).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.92:1

Values

HEX#40242D
RGBrgb(64, 36, 45)
HSLhsl(341, 28%, 20%)
OKLCHoklch(30% 0.045 359.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 #40242D 13.92:1 AAA Lc -103.5 Preferred for body text
Black text on #40242D 1.50:1 Fails Lc 0.0 Not readable
#40242D text on white 13.92:1 AAA Lc 100.4 Preferred for body text
#40242D text on black 1.50: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

    #F3E6E9

    oklch(93.6% 0.015 1.6)

  3. Step 200

    200

    #EBD2D8

    oklch(88.6% 0.029 1.4)

  4. Step 300

    300

    #DEB3BF

    oklch(80.8% 0.052 359.8)

  5. Step 400

    400

    #CD8A9F

    oklch(70.7% 0.086 359.1)

  6. Step 500

    500

    #BE6C87

    oklch(63% 0.108 359.6)

  7. Step 600

    600

    #A95371

    oklch(55.6% 0.117 359.5)

  8. Step 700

    700

    #91435F

    oklch(49.1% 0.11 359.3)

  9. Step 800

    800

    #76384D

    oklch(42.8% 0.09 0.1)

  10. Step 900

    900

    #5F3140

    oklch(37.7% 0.069 0.1)

  11. Step 950

    950 (this color)

    #40242D

    oklch(30% 0.045 359.4)

Export this scale for Tailwind in the Tailwind colors tool

#40242D 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)#28292D0.048
Deuteranopia (no green cones)#2F2E2C0.044
Tritanopia (no blue cones)#4422270.013
Achromatopsia (no color)#2C2C2C0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #40242D

    #40242D

    oklch(30% 0.045 359.4)

  • #0F352E

    #0F352E

    oklch(30% 0.045 178.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40242D

    #40242D

    oklch(30% 0.045 359.4)

  • #3A2539

    #3A2539

    oklch(29.9% 0.046 328.3)

  • #412520

    #412520

    oklch(29.9% 0.044 30.8)

Open the analogous palette in the generator

Split complementary

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

  • #40242D

    #40242D

    oklch(30% 0.045 359.4)

  • #1D3421

    #1D3421

    oklch(30% 0.045 148.7)

  • #0B343A

    #0B343A

    oklch(30% 0.045 209.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40242D

    #40242D

    oklch(30% 0.045 359.4)

  • #2B3116

    #2B3116

    oklch(30% 0.045 119.5)

  • #173142

    #173142

    oklch(30.1% 0.045 239.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40242D

    #40242D

    oklch(30% 0.045 359.4)

  • #372D11

    #372D11

    oklch(30.1% 0.045 89.8)

  • #0F352E

    #0F352E

    oklch(30% 0.045 178.8)

  • #252D44

    #252D44

    oklch(30.1% 0.043 269)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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