#40121C

Closest named color: Dark Maroon (#3C0008). oklch(26.1% 0.072 10.4), rgb(64, 18, 28).

Aa

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

About this color

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

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

Values

HEX#40121C
RGBrgb(64, 18, 28)
HSLhsl(347, 56%, 16%)
OKLCHoklch(26.1% 0.072 10.4)

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 #40121C 15.89:1 AAA Lc -105.1 Preferred for body text
Black text on #40121C 1.32:1 Fails Lc 0.0 Not readable
#40121C text on white 15.89:1 AAA Lc 102.4 Preferred for body text
#40121C 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

    #FAE4E6

    oklch(93.7% 0.024 11.3)

  3. Step 200

    200

    #F7CDD2

    oklch(88.6% 0.048 10)

  4. Step 300

    300

    #F2AAB4

    oklch(80.9% 0.086 10)

  5. Step 400

    400

    #E77A8C

    oklch(70.7% 0.135 10.7)

  6. Step 500

    500

    #DD5270

    oklch(63.1% 0.174 10.5)

  7. Step 600

    600

    #C82F59

    oklch(55.6% 0.189 10.3)

  8. Step 700

    700

    #AC1F49

    oklch(49% 0.176 10.2)

  9. Step 800

    800

    #8C1D3C

    oklch(42.7% 0.146 10.1)

  10. Step 900

    900

    #712033

    oklch(37.8% 0.114 10.6)

  11. Step 950

    950 (this color)

    #40121C

    oklch(26.1% 0.072 10.4)

Export this scale for Tailwind in the Tailwind colors tool

#40121C 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)#1C1C1C0.080
Deuteranopia (no green cones)#28261B0.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°).

  • #40121C

    #40121C

    oklch(26.1% 0.072 10.4)

  • #002B29

    #002B29

    oklch(26.1% 0.045 190)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40121C

    #40121C

    oklch(26.1% 0.072 10.4)

  • #3A142F

    #3A142F

    oklch(26.2% 0.071 340.1)

  • #401505

    #401505

    oklch(26.1% 0.072 40.1)

Open the analogous palette in the generator

Split complementary

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

  • #40121C

    #40121C

    oklch(26.1% 0.072 10.4)

  • #002D1A

    #002D1A

    oklch(26.2% 0.06 159.7)

  • #002934

    #002934

    oklch(26% 0.048 220.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40121C

    #40121C

    oklch(26.1% 0.072 10.4)

  • #182B00

    #182B00

    oklch(26.2% 0.071 130.6)

  • #022545

    #022545

    oklch(26.1% 0.071 250.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40121C

    #40121C

    oklch(26.1% 0.072 10.4)

  • #2A2500

    #2A2500

    oklch(26.2% 0.055 101.8)

  • #002B29

    #002B29

    oklch(26.1% 0.045 190)

  • #1F1F46

    #1F1F46

    oklch(26.3% 0.071 280.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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