#40121D

Closest named color: Dark Maroon (#3C0008). oklch(26.2% 0.072 9), rgb(64, 18, 29).

Aa

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

About this color

#40121D is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.072 and its hue 9°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.044 away. White text reads best on it, at 15.88:1.

Hue familyReds
Lightnessdark (26%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.32:1
White text15.88:1

Values

HEX#40121D
RGBrgb(64, 18, 29)
HSLhsl(346, 56%, 16%)
OKLCHoklch(26.2% 0.072 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 #40121D 15.88:1 AAA Lc -105.1 Preferred for body text
Black text on #40121D 1.32:1 Fails Lc 0.0 Not readable
#40121D text on white 15.88:1 AAA Lc 102.4 Preferred for body text
#40121D text on black 1.32: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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F6CDD2

    oklch(88.5% 0.047 9.8)

  4. Step 300

    300

    #F2AAB5

    oklch(80.9% 0.086 9.1)

  5. Step 400

    400

    #E77A8F

    oklch(70.7% 0.136 8.9)

  6. Step 500

    500

    #DD5273

    oklch(63.2% 0.175 9.2)

  7. Step 600

    600

    #C82F5C

    oklch(55.7% 0.189 9)

  8. Step 700

    700

    #AC1F4B

    oklch(49.1% 0.176 9.2)

  9. Step 800

    800

    #8C1D3E

    oklch(42.7% 0.146 8.9)

  10. Step 900

    900

    #712035

    oklch(37.8% 0.114 9)

  11. Step 950

    950 (this color)

    #40121D

    oklch(26.2% 0.072 9)

Export this scale for Tailwind in the Tailwind colors tool

#40121D 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)#1C1C1D0.080
Deuteranopia (no green cones)#28261C0.074
Tritanopia (no blue cones)#460B160.018
Achromatopsia (no color)#2222220.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #40121D

    #40121D

    oklch(26.2% 0.072 9)

  • #002B29

    #002B29

    oklch(26.1% 0.045 190)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40121D

    #40121D

    oklch(26.2% 0.072 9)

  • #3A1430

    #3A1430

    oklch(26.2% 0.072 338.9)

  • #401506

    #401506

    oklch(26.2% 0.072 39.2)

Open the analogous palette in the generator

Split complementary

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

  • #40121D

    #40121D

    oklch(26.2% 0.072 9)

  • #002D19

    #002D19

    oklch(26.2% 0.061 158.5)

  • #002A34

    #002A34

    oklch(26.3% 0.047 218.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40121D

    #40121D

    oklch(26.2% 0.072 9)

  • #1A2A00

    #1A2A00

    oklch(26.1% 0.069 128.4)

  • #002645

    #002645

    oklch(26.3% 0.071 248.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40121D

    #40121D

    oklch(26.2% 0.072 9)

  • #2B2400

    #2B2400

    oklch(26% 0.054 98.3)

  • #002B29

    #002B29

    oklch(26.1% 0.045 190)

  • #1E1F46

    #1E1F46

    oklch(26.2% 0.071 279.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40121D 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.