#400512

Closest named color: Dark Maroon (#3C0008). oklch(24.3% 0.088 14.8), rgb(64, 5, 18).

Aa

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

About this color

#400512 is a very dark, moderately saturated red. In OKLCH its lightness is 24%, its chroma 0.088 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.020 away. White text reads best on it, at 16.82:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.24:1
White text16.82:1

Values

HEX#400512
RGBrgb(64, 5, 18)
HSLhsl(347, 86%, 14%)
OKLCHoklch(24.3% 0.088 14.8)

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 #400512 16.82:1 AAA Lc -105.5 Preferred for body text
Black text on #400512 1.24:1 Fails Lc 0.0 Not readable
#400512 text on white 16.82:1 AAA Lc 102.9 Preferred for body text
#400512 text on black 1.24: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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FDE2E3

    oklch(93.5% 0.03 15.1)

  3. Step 200

    200

    #FDCACD

    oklch(88.4% 0.058 14.4)

  4. Step 300

    300

    #FCA5AB

    oklch(80.9% 0.103 15.1)

  5. Step 400

    400

    #F66E7F

    oklch(70.7% 0.167 14.7)

  6. Step 500

    500

    #ED3B5F

    oklch(63% 0.212 14.7)

  7. Step 600

    600

    #D50048

    oklch(55.5% 0.222 14.6)

  8. Step 700

    700

    #B5003B

    oklch(49.1% 0.196 15)

  9. Step 800

    800

    #960030

    oklch(42.8% 0.171 14.7)

  10. Step 900

    900

    #7A0F29

    oklch(37.7% 0.139 14.8)

  11. Step 950

    950 (this color)

    #400512

    oklch(24.3% 0.088 14.8)

Export this scale for Tailwind in the Tailwind colors tool

#400512 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)#1615120.099
Deuteranopia (no green cones)#2522100.091
Tritanopia (no blue cones)#47000A0.019
Achromatopsia (no color)#1D1D1D0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #400512

    #400512

    oklch(24.3% 0.088 14.8)

  • #002626

    #002626

    oklch(24.3% 0.042 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400512

    #400512

    oklch(24.3% 0.088 14.8)

  • #3A0829

    #3A0829

    oklch(24.3% 0.087 345)

  • #391200

    #391200

    oklch(24.2% 0.069 45.2)

Open the analogous palette in the generator

Split complementary

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

  • #400512

    #400512

    oklch(24.3% 0.088 14.8)

  • #00271A

    #00271A

    oklch(24.2% 0.05 165.9)

  • #002430

    #002430

    oklch(24.2% 0.046 224.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400512

    #400512

    oklch(24.3% 0.088 14.8)

  • #102700

    #102700

    oklch(24.4% 0.071 134.6)

  • #001F44

    #001F44

    oklch(24.2% 0.079 254.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400512

    #400512

    oklch(24.3% 0.088 14.8)

  • #242100

    #242100

    oklch(24.3% 0.052 104.6)

  • #002626

    #002626

    oklch(24.3% 0.042 194.8)

  • #1D1647

    #1D1647

    oklch(24.3% 0.088 284.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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