#400C15

Closest named color: Dark Maroon (#3C0008). oklch(25.1% 0.08 15.3), rgb(64, 12, 21).

Aa

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

About this color

#400C15 is a dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.080 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.029 away. White text reads best on it, at 16.38:1.

Hue familyReds
Lightnessdark (25%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.28:1
White text16.38:1

Values

HEX#400C15
RGBrgb(64, 12, 21)
HSLhsl(350, 68%, 15%)
OKLCHoklch(25.1% 0.08 15.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 #400C15 16.38:1 AAA Lc -105.3 Preferred for body text
Black text on #400C15 1.28:1 Fails Lc 0.0 Not readable
#400C15 text on white 16.38:1 AAA Lc 102.7 Preferred for body text
#400C15 text on black 1.28: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

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FCE3E4

    oklch(93.6% 0.028 14.9)

  3. Step 200

    200

    #FACCCE

    oklch(88.6% 0.052 15.2)

  4. Step 300

    300

    #F7A8AD

    oklch(80.9% 0.094 15.2)

  5. Step 400

    400

    #EF7581

    oklch(70.7% 0.15 15.6)

  6. Step 500

    500

    #E64862

    oklch(63.1% 0.194 15.3)

  7. Step 600

    600

    #D11B49

    oklch(55.6% 0.21 15.3)

  8. Step 700

    700

    #B4033B

    oklch(49% 0.195 15)

  9. Step 800

    800

    #920F31

    oklch(42.6% 0.161 15)

  10. Step 900

    900

    #76192B

    oklch(37.7% 0.126 15.1)

  11. Step 950

    950 (this color)

    #400C15

    oklch(25.1% 0.08 15.3)

Export this scale for Tailwind in the Tailwind colors tool

#400C15 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)#1A19150.088
Deuteranopia (no green cones)#2723140.079
Tritanopia (no blue cones)#4702100.020
Achromatopsia (no color)#2020200.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #400C15

    #400C15

    oklch(25.1% 0.08 15.3)

  • #002828

    #002828

    oklch(25.1% 0.043 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400C15

    #400C15

    oklch(25.1% 0.08 15.3)

  • #3B0E2A

    #3B0E2A

    oklch(25.2% 0.079 346)

  • #3C1400

    #3C1400

    oklch(25.1% 0.071 46)

Open the analogous palette in the generator

Split complementary

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

  • #400C15

    #400C15

    oklch(25.1% 0.08 15.3)

  • #002A1C

    #002A1C

    oklch(25.3% 0.053 165.5)

  • #002633

    #002633

    oklch(25% 0.048 225.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400C15

    #400C15

    oklch(25.1% 0.08 15.3)

  • #102900

    #102900

    oklch(25.1% 0.074 135.3)

  • #022147

    #022147

    oklch(25.1% 0.08 255.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400C15

    #400C15

    oklch(25.1% 0.08 15.3)

  • #262300

    #262300

    oklch(25.1% 0.053 104.8)

  • #002828

    #002828

    oklch(25.1% 0.043 194.8)

  • #201A46

    #201A46

    oklch(25.3% 0.079 285.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #400C15 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.