#40232C

Closest named color: Space Cadet (#2B2D42). oklch(29.7% 0.046 0.3), rgb(64, 35, 44).

Aa

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

About this color

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

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

Values

HEX#40232C
RGBrgb(64, 35, 44)
HSLhsl(341, 29%, 19%)
OKLCHoklch(29.7% 0.046 0.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 #40232C 14.04:1 AAA Lc -103.6 Preferred for body text
Black text on #40232C 1.49:1 Fails Lc 0.0 Not readable
#40232C text on white 14.04:1 AAA Lc 100.6 Preferred for body text
#40232C 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

    #F4E6E9

    oklch(93.7% 0.016 2.7)

  3. Step 200

    200

    #EBD1D8

    oklch(88.4% 0.03 359.6)

  4. Step 300

    300

    #E0B3BF

    oklch(81% 0.054 0.6)

  5. Step 400

    400

    #CE8A9E

    oklch(70.7% 0.087 0.4)

  6. Step 500

    500

    #C06B86

    oklch(63.1% 0.112 0.5)

  7. Step 600

    600

    #AB5270

    oklch(55.7% 0.121 0.5)

  8. Step 700

    700

    #92425E

    oklch(49.1% 0.112 0)

  9. Step 800

    800

    #77374D

    oklch(42.8% 0.093 0)

  10. Step 900

    900

    #603040

    oklch(37.7% 0.072 359.9)

  11. Step 950

    950 (this color)

    #40232C

    oklch(29.7% 0.046 0.3)

Export this scale for Tailwind in the Tailwind colors tool

#40232C 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)#27282C0.050
Deuteranopia (no green cones)#2E2E2B0.048
Tritanopia (no blue cones)#4421260.013
Achromatopsia (no color)#2C2C2C0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #40232C

    #40232C

    oklch(29.7% 0.046 0.3)

  • #0C352E

    #0C352E

    oklch(29.9% 0.047 179.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40232C

    #40232C

    oklch(29.7% 0.046 0.3)

  • #3A2438

    #3A2438

    oklch(29.6% 0.047 329.9)

  • #41241F

    #41241F

    oklch(29.7% 0.046 30.5)

Open the analogous palette in the generator

Split complementary

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

  • #40232C

    #40232C

    oklch(29.7% 0.046 0.3)

  • #1B3421

    #1B3421

    oklch(29.8% 0.047 150.5)

  • #08333A

    #08333A

    oklch(29.6% 0.046 211)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40232C

    #40232C

    oklch(29.7% 0.046 0.3)

  • #2A3115

    #2A3115

    oklch(29.9% 0.047 120.9)

  • #163042

    #163042

    oklch(29.8% 0.046 240.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40232C

    #40232C

    oklch(29.7% 0.046 0.3)

  • #362C0F

    #362C0F

    oklch(29.7% 0.046 90.3)

  • #0C352E

    #0C352E

    oklch(29.9% 0.047 179.4)

  • #242C44

    #242C44

    oklch(29.7% 0.045 269.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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