#401229

Closest named color: Dark Plum (#3F012C). oklch(26.6% 0.077 352.6), rgb(64, 18, 41).

Aa

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

About this color

#401229 is a dark, moderately saturated red. In OKLCH its lightness is 27%, its chroma 0.077 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.035 away. White text reads best on it, at 15.71:1.

Hue familyReds
Lightnessdark (27%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.33:1
White text15.71:1

Values

HEX#401229
RGBrgb(64, 18, 41)
HSLhsl(330, 56%, 16%)
OKLCHoklch(26.6% 0.077 352.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 #401229 15.71:1 AAA Lc -104.9 Preferred for body text
Black text on #401229 1.33:1 Fails Lc 0.0 Not readable
#401229 text on white 15.71:1 AAA Lc 102.2 Preferred for body text
#401229 text on black 1.33: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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F5CCDC

    oklch(88.5% 0.05 352.8)

  4. Step 300

    300

    #EFA8C6

    oklch(80.8% 0.091 352.3)

  5. Step 400

    400

    #E477A9

    oklch(70.7% 0.146 352.6)

  6. Step 500

    500

    #D94E94

    oklch(63.1% 0.186 352.6)

  7. Step 600

    600

    #C4297E

    oklch(55.6% 0.202 352.7)

  8. Step 700

    700

    #A9196B

    oklch(49.2% 0.188 352.5)

  9. Step 800

    800

    #891957

    oklch(42.7% 0.156 352.5)

  10. Step 900

    900

    #6E1E48

    oklch(37.7% 0.121 352.2)

  11. Step 950

    950 (this color)

    #401229

    oklch(26.6% 0.077 352.6)

Export this scale for Tailwind in the Tailwind colors tool

#401229 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)#191E2A0.085
Deuteranopia (no green cones)#2626280.076
Tritanopia (no blue cones)#450F1B0.027
Achromatopsia (no color)#2323230.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #401229

    #401229

    oklch(26.6% 0.077 352.6)

  • #002D23

    #002D23

    oklch(26.5% 0.051 173.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401229

    #401229

    oklch(26.6% 0.077 352.6)

  • #36163B

    #36163B

    oklch(26.5% 0.077 322.1)

  • #441213

    #441213

    oklch(26.7% 0.077 22.9)

Open the analogous palette in the generator

Split complementary

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

  • #401229

    #401229

    oklch(26.6% 0.077 352.6)

  • #092E08

    #092E08

    oklch(26.5% 0.076 142.7)

  • #002C2F

    #002C2F

    oklch(26.7% 0.045 201.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401229

    #401229

    oklch(26.6% 0.077 352.6)

  • #262800

    #262800

    oklch(26.6% 0.059 112.6)

  • #002A3C

    #002A3C

    oklch(26.8% 0.055 232.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401229

    #401229

    oklch(26.6% 0.077 352.6)

  • #322200

    #322200

    oklch(26.5% 0.054 82.4)

  • #002D23

    #002D23

    oklch(26.5% 0.051 173.4)

  • #10234A

    #10234A

    oklch(26.5% 0.077 262.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #401229 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.