#40052A

Closest named color: Dark Plum (#3F012C). oklch(25.2% 0.097 348), rgb(64, 5, 42).

Aa

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

About this color

#40052A is a dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.097 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.010 away. White text reads best on it, at 16.49:1.

Hue familyReds
Lightnessdark (25%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.27:1
White text16.49:1

Values

HEX#40052A
RGBrgb(64, 5, 42)
HSLhsl(322, 86%, 14%)
OKLCHoklch(25.2% 0.097 348)

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 #40052A 16.49:1 AAA Lc -105.2 Preferred for body text
Black text on #40052A 1.27:1 Fails Lc 0.0 Not readable
#40052A text on white 16.49:1 AAA Lc 102.6 Preferred for body text
#40052A text on black 1.27: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

    #FEF2F7

    oklch(97.2% 0.014 350.1)

  2. Step 100

    100

    #FCE1EE

    oklch(93.5% 0.034 347.1)

  3. Step 200

    200

    #FAC9E0

    oklch(88.5% 0.063 348.6)

  4. Step 300

    300

    #F7A2CE

    oklch(80.9% 0.114 347.6)

  5. Step 400

    400

    #EF69B4

    oklch(70.6% 0.183 348.1)

  6. Step 500

    500

    #E532A2

    oklch(63.1% 0.234 347.8)

  7. Step 600

    600

    #CA008B

    oklch(55.6% 0.234 347.8)

  8. Step 700

    700

    #AB0075

    oklch(49.1% 0.206 347.8)

  9. Step 800

    800

    #8D0060

    oklch(42.6% 0.179 347.7)

  10. Step 900

    900

    #75074F

    oklch(37.6% 0.152 348.1)

  11. Step 950

    950 (this color)

    #40052A

    oklch(25.2% 0.097 348)

Export this scale for Tailwind in the Tailwind colors tool

#40052A 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)#0F182B0.108
Deuteranopia (no green cones)#2123290.095
Tritanopia (no blue cones)#4503170.038
Achromatopsia (no color)#1F1F1F0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #40052A

    #40052A

    oklch(25.2% 0.097 348)

  • #002A1D

    #002A1D

    oklch(25.3% 0.052 167.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40052A

    #40052A

    oklch(25.2% 0.097 348)

  • #340D3F

    #340D3F

    oklch(25.2% 0.096 317.9)

  • #46030F

    #46030F

    oklch(25.3% 0.097 18.5)

Open the analogous palette in the generator

Split complementary

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

  • #40052A

    #40052A

    oklch(25.2% 0.097 348)

  • #0B2A00

    #0B2A00

    oklch(25.2% 0.078 138.1)

  • #002829

    #002829

    oklch(25.1% 0.043 197.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40052A

    #40052A

    oklch(25.2% 0.097 348)

  • #252400

    #252400

    oklch(25.3% 0.055 108.2)

  • #002634

    #002634

    oklch(25.1% 0.049 227.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40052A

    #40052A

    oklch(25.2% 0.097 348)

  • #301E00

    #301E00

    oklch(25.2% 0.053 76.9)

  • #002A1D

    #002A1D

    oklch(25.3% 0.052 167.1)

  • #001F4D

    #001F4D

    oklch(25.1% 0.093 258)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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