#40072B

Closest named color: Dark Plum (#3F012C). oklch(25.4% 0.094 347.3), rgb(64, 7, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (25%)
Chromamoderately saturated (0.094)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.28:1
White text16.36:1

Values

HEX#40072B
RGBrgb(64, 7, 43)
HSLhsl(322, 80%, 14%)
OKLCHoklch(25.4% 0.094 347.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 #40072B 16.36:1 AAA Lc -105.2 Preferred for body text
Black text on #40072B 1.28:1 Fails Lc 0.0 Not readable
#40072B text on white 16.36:1 AAA Lc 102.6 Preferred for body text
#40072B text on black 1.28: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

    #FBE2EE

    oklch(93.6% 0.031 347.1)

  3. Step 200

    200

    #F9C9E1

    oklch(88.5% 0.062 346.9)

  4. Step 300

    300

    #F6A3CE

    oklch(80.9% 0.111 347.5)

  5. Step 400

    400

    #ED6BB5

    oklch(70.6% 0.179 347.4)

  6. Step 500

    500

    #E337A3

    oklch(63.1% 0.228 347.3)

  7. Step 600

    600

    #CA008C

    oklch(55.6% 0.234 347.5)

  8. Step 700

    700

    #AB0076

    oklch(49.1% 0.207 347.4)

  9. Step 800

    800

    #8D0061

    oklch(42.7% 0.18 347.2)

  10. Step 900

    900

    #740C50

    oklch(37.7% 0.149 347.3)

  11. Step 950

    950 (this color)

    #40072B

    oklch(25.4% 0.094 347.3)

Export this scale for Tailwind in the Tailwind colors tool

#40072B 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)#10192C0.106
Deuteranopia (no green cones)#21232A0.092
Tritanopia (no blue cones)#4505180.038
Achromatopsia (no color)#2020200.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #40072B

    #40072B

    oklch(25.4% 0.094 347.3)

  • #002A1D

    #002A1D

    oklch(25.3% 0.052 167.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40072B

    #40072B

    oklch(25.4% 0.094 347.3)

  • #340E40

    #340E40

    oklch(25.4% 0.095 316.9)

  • #460511

    #460511

    oklch(25.6% 0.094 17.7)

Open the analogous palette in the generator

Split complementary

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

  • #40072B

    #40072B

    oklch(25.4% 0.094 347.3)

  • #0D2B00

    #0D2B00

    oklch(25.6% 0.078 137.4)

  • #00292A

    #00292A

    oklch(25.5% 0.043 197.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40072B

    #40072B

    oklch(25.4% 0.094 347.3)

  • #262400

    #262400

    oklch(25.4% 0.054 106.6)

  • #002735

    #002735

    oklch(25.4% 0.049 227.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40072B

    #40072B

    oklch(25.4% 0.094 347.3)

  • #311F00

    #311F00

    oklch(25.6% 0.053 77.5)

  • #002A1D

    #002A1D

    oklch(25.3% 0.052 167.1)

  • #00204D

    #00204D

    oklch(25.3% 0.091 257.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40072B 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.