#401218

Closest named color: Deep Brown (#410200). oklch(26% 0.072 15.9), rgb(64, 18, 24).

Aa

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

About this color

#401218 is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.072 and its hue 16°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.038 away. White text reads best on it, at 15.93:1.

Hue familyReds
Lightnessdark (26%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.31:1
White text15.93:1

Values

HEX#401218
RGBrgb(64, 18, 24)
HSLhsl(352, 56%, 16%)
OKLCHoklch(26% 0.072 15.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 #401218 15.93:1 AAA Lc -105.1 Preferred for body text
Black text on #401218 1.31:1 Fails Lc 0.0 Not readable
#401218 text on white 15.93:1 AAA Lc 102.4 Preferred for body text
#401218 text on black 1.31: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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #FAE4E4

    oklch(93.7% 0.024 17.6)

  3. Step 200

    200

    #F7CDCF

    oklch(88.5% 0.048 14.9)

  4. Step 300

    300

    #F2ABAE

    oklch(80.9% 0.084 16.3)

  5. Step 400

    400

    #E87A84

    oklch(70.6% 0.136 15.5)

  6. Step 500

    500

    #DE5365

    oklch(63.1% 0.173 15.9)

  7. Step 600

    600

    #C9304C

    oklch(55.6% 0.188 16)

  8. Step 700

    700

    #AD203D

    oklch(49% 0.175 16)

  9. Step 800

    800

    #8D1E33

    oklch(42.7% 0.145 15.8)

  10. Step 900

    900

    #71212D

    oklch(37.7% 0.112 15.7)

  11. Step 950

    950 (this color)

    #401218

    oklch(26% 0.072 15.9)

Export this scale for Tailwind in the Tailwind colors tool

#401218 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)#1D1C180.078
Deuteranopia (no green cones)#2925170.071
Tritanopia (no blue cones)#470A140.019
Achromatopsia (no color)#2222220.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #401218

    #401218

    oklch(26% 0.072 15.9)

  • #002B2B

    #002B2B

    oklch(26.2% 0.045 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401218

    #401218

    oklch(26% 0.072 15.9)

  • #3B132B

    #3B132B

    oklch(26% 0.071 346.2)

  • #3F1601

    #3F1601

    oklch(26.1% 0.072 45.7)

Open the analogous palette in the generator

Split complementary

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

  • #401218

    #401218

    oklch(26% 0.072 15.9)

  • #002C1E

    #002C1E

    oklch(26% 0.054 166.2)

  • #002936

    #002936

    oklch(26.1% 0.049 224.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401218

    #401218

    oklch(26% 0.072 15.9)

  • #122B03

    #122B03

    oklch(25.9% 0.072 135.9)

  • #092446

    #092446

    oklch(26.1% 0.072 256)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401218

    #401218

    oklch(26% 0.072 15.9)

  • #282500

    #282500

    oklch(25.9% 0.055 105)

  • #002B2B

    #002B2B

    oklch(26.2% 0.045 194.8)

  • #221D45

    #221D45

    oklch(26% 0.072 285.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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