#400127

Closest named color: Dark Plum (#3F012C). oklch(24.6% 0.101 350.3), rgb(64, 1, 39).

Aa

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

About this color

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

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

Values

HEX#400127
RGBrgb(64, 1, 39)
HSLhsl(324, 97%, 13%)
OKLCHoklch(24.6% 0.101 350.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 #400127 16.77:1 AAA Lc -105.3 Preferred for body text
Black text on #400127 1.25:1 Fails Lc 0.0 Not readable
#400127 text on white 16.77:1 AAA Lc 102.7 Preferred for body text
#400127 text on black 1.25: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

    #FFF1F7

    oklch(97.1% 0.017 349.5)

  2. Step 100

    100

    #FDE1ED

    oklch(93.6% 0.034 350)

  3. Step 200

    200

    #FCC8DF

    oklch(88.5% 0.066 350.2)

  4. Step 300

    300

    #FBA0CB

    oklch(80.9% 0.119 350.3)

  5. Step 400

    400

    #F465B1

    oklch(70.7% 0.192 350.1)

  6. Step 500

    500

    #EB279D

    oklch(63.2% 0.244 350.4)

  7. Step 600

    600

    #CC0085

    oklch(55.7% 0.232 350.5)

  8. Step 700

    700

    #AC0070

    oklch(49.1% 0.205 350.2)

  9. Step 800

    800

    #8E005C

    oklch(42.6% 0.178 350.1)

  10. Step 900

    900

    #78004D

    oklch(37.7% 0.157 350.1)

  11. Step 950

    950 (this color)

    #400127

    oklch(24.6% 0.101 350.3)

Export this scale for Tailwind in the Tailwind colors tool

#400127 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)#0D16280.115
Deuteranopia (no green cones)#2021260.098
Tritanopia (no blue cones)#4600130.041
Achromatopsia (no color)#1D1D1D0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #400127

    #400127

    oklch(24.6% 0.101 350.3)

  • #00281D

    #00281D

    oklch(24.6% 0.049 169.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400127

    #400127

    oklch(24.6% 0.101 350.3)

  • #34083D

    #34083D

    oklch(24.5% 0.101 320.1)

  • #45000B

    #45000B

    oklch(24.7% 0.099 20.1)

Open the analogous palette in the generator

Split complementary

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

  • #400127

    #400127

    oklch(24.6% 0.101 350.3)

  • #052900

    #052900

    oklch(24.6% 0.08 140.5)

  • #002629

    #002629

    oklch(24.5% 0.042 202.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400127

    #400127

    oklch(24.6% 0.101 350.3)

  • #222300

    #222300

    oklch(24.7% 0.054 111.4)

  • #002534

    #002534

    oklch(24.8% 0.049 230.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400127

    #400127

    oklch(24.6% 0.101 350.3)

  • #2D1D00

    #2D1D00

    oklch(24.5% 0.051 79.5)

  • #00281D

    #00281D

    oklch(24.6% 0.049 169.8)

  • #001C4F

    #001C4F

    oklch(24.5% 0.1 260)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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