#40022B

Closest named color: Dark Plum (#3F012C). oklch(24.9% 0.102 346.4), rgb(64, 2, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (25%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.26:1
White text16.64:1

Values

HEX#40022B
RGBrgb(64, 2, 43)
HSLhsl(320, 94%, 13%)
OKLCHoklch(24.9% 0.102 346.4)

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 #40022B 16.64:1 AAA Lc -105.2 Preferred for body text
Black text on #40022B 1.26:1 Fails Lc 0.0 Not readable
#40022B text on white 16.64:1 AAA Lc 102.6 Preferred for body text
#40022B text on black 1.26: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

    #FEF1F8

    oklch(97% 0.017 343.6)

  2. Step 100

    100

    #FCE1EF

    oklch(93.6% 0.035 345.1)

  3. Step 200

    200

    #FBC8E2

    oklch(88.5% 0.067 346.5)

  4. Step 300

    300

    #F9A0D0

    oklch(80.8% 0.12 346.6)

  5. Step 400

    400

    #F166B9

    oklch(70.7% 0.192 346.3)

  6. Step 500

    500

    #E828A7

    oklch(63.2% 0.246 346.5)

  7. Step 600

    600

    #C9008E

    oklch(55.5% 0.235 346.5)

  8. Step 700

    700

    #AA0078

    oklch(49% 0.207 346.3)

  9. Step 800

    800

    #8D0062

    oklch(42.7% 0.18 346.7)

  10. Step 900

    900

    #760052

    oklch(37.6% 0.159 346.4)

  11. Step 950

    950 (this color)

    #40022B

    oklch(24.9% 0.102 346.4)

Export this scale for Tailwind in the Tailwind colors tool

#40022B 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)#0B172C0.116
Deuteranopia (no green cones)#1F222A0.099
Tritanopia (no blue cones)#4500160.042
Achromatopsia (no color)#1E1E1E0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #40022B

    #40022B

    oklch(24.9% 0.102 346.4)

  • #00291C

    #00291C

    oklch(24.9% 0.051 166.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40022B

    #40022B

    oklch(24.9% 0.102 346.4)

  • #340A41

    #340A41

    oklch(25% 0.102 316.8)

  • #460010

    #460010

    oklch(25% 0.1 16.3)

Open the analogous palette in the generator

Split complementary

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

  • #40022B

    #40022B

    oklch(24.9% 0.102 346.4)

  • #0E2900

    #0E2900

    oklch(25% 0.075 136.5)

  • #002828

    #002828

    oklch(25.1% 0.043 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40022B

    #40022B

    oklch(24.9% 0.102 346.4)

  • #252300

    #252300

    oklch(25% 0.054 106.5)

  • #002633

    #002633

    oklch(25% 0.048 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40022B

    #40022B

    oklch(24.9% 0.102 346.4)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

  • #00291C

    #00291C

    oklch(24.9% 0.051 166.7)

  • #002049

    #002049

    oklch(25% 0.085 256)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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