#40232A

Closest named color: Space Cadet (#2B2D42). oklch(29.7% 0.045 4.6), rgb(64, 35, 42).

Aa

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

About this color

#40232A is a dark, muted red. In OKLCH its lightness is 30%, its chroma 0.045 and its hue 5°. 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.07:1.

Hue familyReds
Lightnessdark (30%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameSpace Cadet (#2B2D42)
Black text1.49:1
White text14.07:1

Values

HEX#40232A
RGBrgb(64, 35, 42)
HSLhsl(346, 29%, 19%)
OKLCHoklch(29.7% 0.045 4.6)

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 #40232A 14.07:1 AAA Lc -103.6 Preferred for body text
Black text on #40232A 1.49:1 Fails Lc 0.0 Not readable
#40232A text on white 14.07:1 AAA Lc 100.6 Preferred for body text
#40232A text on black 1.49: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

    #F4E6E8

    oklch(93.7% 0.015 7.5)

  3. Step 200

    200

    #ECD1D6

    oklch(88.4% 0.031 5.1)

  4. Step 300

    300

    #E0B3BC

    oklch(80.9% 0.053 4.9)

  5. Step 400

    400

    #CF8A9A

    oklch(70.7% 0.086 4.4)

  6. Step 500

    500

    #C06C81

    oklch(63.1% 0.109 4.6)

  7. Step 600

    600

    #AB526A

    oklch(55.5% 0.119 4.7)

  8. Step 700

    700

    #934259

    oklch(49.1% 0.112 4.2)

  9. Step 800

    800

    #773748

    oklch(42.6% 0.091 5)

  10. Step 900

    900

    #61303D

    oklch(37.7% 0.072 4.2)

  11. Step 950

    950 (this color)

    #40232A

    oklch(29.7% 0.045 4.6)

Export this scale for Tailwind in the Tailwind colors tool

#40232A 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)#28282A0.049
Deuteranopia (no green cones)#2F2D290.045
Tritanopia (no blue cones)#4521250.013
Achromatopsia (no color)#2B2B2B0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #40232A

    #40232A

    oklch(29.7% 0.045 4.6)

  • #0B3430

    #0B3430

    oklch(29.6% 0.045 185.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40232A

    #40232A

    oklch(29.7% 0.045 4.6)

  • #3B2436

    #3B2436

    oklch(29.6% 0.046 334.9)

  • #41241D

    #41241D

    oklch(29.6% 0.046 34.4)

Open the analogous palette in the generator

Split complementary

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

  • #40232A

    #40232A

    oklch(29.7% 0.045 4.6)

  • #193423

    #193423

    oklch(29.8% 0.046 154.9)

  • #0B333B

    #0B333B

    oklch(29.8% 0.045 213.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40232A

    #40232A

    oklch(29.7% 0.045 4.6)

  • #283117

    #283117

    oklch(29.7% 0.045 124.7)

  • #182F42

    #182F42

    oklch(29.6% 0.045 245.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40232A

    #40232A

    oklch(29.7% 0.045 4.6)

  • #342D10

    #342D10

    oklch(29.7% 0.046 95.9)

  • #0B3430

    #0B3430

    oklch(29.6% 0.045 185.8)

  • #262B44

    #262B44

    oklch(29.7% 0.046 274.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40232A 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.