#400107

Closest named color: Dark Maroon (#3C0008). oklch(23.6% 0.093 22.9), rgb(64, 1, 7).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.22:1
White text17.13:1

Values

HEX#400107
RGBrgb(64, 1, 7)
HSLhsl(354, 97%, 13%)
OKLCHoklch(23.6% 0.093 22.9)

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 #400107 17.13:1 AAA Lc -105.5 Preferred for body text
Black text on #400107 1.22:1 Fails Lc 0.0 Not readable
#400107 text on white 17.13:1 AAA Lc 103.0 Preferred for body text
#400107 text on black 1.22: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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2E0

    oklch(93.6% 0.032 22.5)

  3. Step 200

    200

    #FFCAC7

    oklch(88.5% 0.061 22.1)

  4. Step 300

    300

    #FFA4A0

    oklch(80.8% 0.109 22.5)

  5. Step 400

    400

    #FB6C6B

    oklch(70.7% 0.176 23.1)

  6. Step 500

    500

    #F43343

    oklch(63.1% 0.226 22.9)

  7. Step 600

    600

    #D8002D

    oklch(55.7% 0.225 22.8)

  8. Step 700

    700

    #B70024

    oklch(49.2% 0.198 23)

  9. Step 800

    800

    #97001C

    oklch(42.7% 0.172 22.9)

  10. Step 900

    900

    #7E0718

    oklch(37.8% 0.147 23)

  11. Step 950

    950 (this color)

    #400107

    oklch(23.6% 0.093 22.9)

Export this scale for Tailwind in the Tailwind colors tool

#400107 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)#1513070.104
Deuteranopia (no green cones)#2520050.093
Tritanopia (no blue cones)#4800040.020
Achromatopsia (no color)#1B1B1B0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #400107

    #400107

    oklch(23.6% 0.093 22.9)

  • #002427

    #002427

    oklch(23.7% 0.04 203)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400107

    #400107

    oklch(23.6% 0.093 22.9)

  • #3C0222

    #3C0222

    oklch(23.6% 0.093 353.1)

  • #331400

    #331400

    oklch(23.4% 0.06 52.5)

Open the analogous palette in the generator

Split complementary

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

  • #400107

    #400107

    oklch(23.6% 0.093 22.9)

  • #00251C

    #00251C

    oklch(23.6% 0.045 172.7)

  • #002231

    #002231

    oklch(23.7% 0.048 231.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400107

    #400107

    oklch(23.6% 0.093 22.9)

  • #002701

    #002701

    oklch(23.6% 0.079 143)

  • #051949

    #051949

    oklch(23.4% 0.093 263.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400107

    #400107

    oklch(23.6% 0.093 22.9)

  • #1F2100

    #1F2100

    oklch(23.8% 0.053 113)

  • #002427

    #002427

    oklch(23.7% 0.04 203)

  • #221045

    #221045

    oklch(23.5% 0.094 293.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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