#400315

Closest named color: Dark Maroon (#3C0008). oklch(24.1% 0.091 10.5), rgb(64, 3, 21).

Aa

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

About this color

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

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

Values

HEX#400315
RGBrgb(64, 3, 21)
HSLhsl(342, 91%, 13%)
OKLCHoklch(24.1% 0.091 10.5)

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

    #FFF2F3

    oklch(97.2% 0.014 12)

  2. Step 100

    100

    #FEE2E5

    oklch(93.6% 0.031 10.3)

  3. Step 200

    200

    #FECAD0

    oklch(88.6% 0.059 10.6)

  4. Step 300

    300

    #FDA3B0

    oklch(80.8% 0.108 10.3)

  5. Step 400

    400

    #F76B87

    oklch(70.6% 0.173 10.3)

  6. Step 500

    500

    #EF3569

    oklch(63.1% 0.22 10.6)

  7. Step 600

    600

    #D40054

    oklch(55.6% 0.222 10.3)

  8. Step 700

    700

    #B40045

    oklch(49.2% 0.197 10.8)

  9. Step 800

    800

    #950038

    oklch(42.8% 0.171 10.6)

  10. Step 900

    900

    #7B0A2F

    oklch(37.8% 0.143 10.6)

  11. Step 950

    950 (this color)

    #400315

    oklch(24.1% 0.091 10.5)

Export this scale for Tailwind in the Tailwind colors tool

#400315 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)#1415150.104
Deuteranopia (no green cones)#2421130.093
Tritanopia (no blue cones)#47000A0.023
Achromatopsia (no color)#1D1D1D0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #400315

    #400315

    oklch(24.1% 0.091 10.5)

  • #002624

    #002624

    oklch(24.2% 0.042 189.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400315

    #400315

    oklch(24.1% 0.091 10.5)

  • #39072C

    #39072C

    oklch(24.1% 0.09 340.7)

  • #3B0F00

    #3B0F00

    oklch(24.1% 0.074 40.8)

Open the analogous palette in the generator

Split complementary

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

  • #400315

    #400315

    oklch(24.1% 0.091 10.5)

  • #002717

    #002717

    oklch(24.1% 0.053 161.2)

  • #00242E

    #00242E

    oklch(24.1% 0.044 220.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400315

    #400315

    oklch(24.1% 0.091 10.5)

  • #142500

    #142500

    oklch(24% 0.065 130.6)

  • #00203F

    #00203F

    oklch(24.1% 0.07 250.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400315

    #400315

    oklch(24.1% 0.091 10.5)

  • #252000

    #252000

    oklch(24.2% 0.05 100.9)

  • #002624

    #002624

    oklch(24.2% 0.042 189.5)

  • #1A1649

    #1A1649

    oklch(24.2% 0.091 280.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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