#400C0F

Closest named color: Deep Brown (#410200). oklch(25% 0.08 22.1), rgb(64, 12, 15).

Aa

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

About this color

#400C0F is a dark, moderately saturated red. In OKLCH its lightness is 25%, its chroma 0.080 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.023 away. White text reads best on it, at 16.43:1.

Hue familyReds
Lightnessdark (25%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.27:1
White text16.43:1

Values

HEX#400C0F
RGBrgb(64, 12, 15)
HSLhsl(357, 68%, 15%)
OKLCHoklch(25% 0.08 22.1)

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 #400C0F 16.43:1 AAA Lc -105.4 Preferred for body text
Black text on #400C0F 1.27:1 Fails Lc 0.0 Not readable
#400C0F text on white 16.43:1 AAA Lc 102.8 Preferred for body text
#400C0F text on black 1.27: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCA

    oklch(88.4% 0.052 21.1)

  4. Step 300

    300

    #F8A8A5

    oklch(80.8% 0.095 21.8)

  5. Step 400

    400

    #F07675

    oklch(70.7% 0.151 22.1)

  6. Step 500

    500

    #E74A51

    oklch(63.2% 0.193 22.2)

  7. Step 600

    600

    #D21D35

    oklch(55.5% 0.21 22.1)

  8. Step 700

    700

    #B60628

    oklch(49.2% 0.196 22.1)

  9. Step 800

    800

    #931122

    oklch(42.7% 0.161 22.2)

  10. Step 900

    900

    #761A21

    oklch(37.6% 0.126 21.9)

  11. Step 950

    950 (this color)

    #400C0F

    oklch(25% 0.08 22.1)

Export this scale for Tailwind in the Tailwind colors tool

#400C0F 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)#1B180F0.086
Deuteranopia (no green cones)#28230D0.079
Tritanopia (no blue cones)#47000E0.022
Achromatopsia (no color)#1F1F1F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #400C0F

    #400C0F

    oklch(25% 0.08 22.1)

  • #00272A

    #00272A

    oklch(24.8% 0.042 202.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400C0F

    #400C0F

    oklch(25% 0.08 22.1)

  • #3C0C25

    #3C0C25

    oklch(24.9% 0.08 352.5)

  • #391700

    #391700

    oklch(25.1% 0.064 52.2)

Open the analogous palette in the generator

Split complementary

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

  • #400C0F

    #400C0F

    oklch(25% 0.08 22.1)

  • #00291F

    #00291F

    oklch(25% 0.048 172.1)

  • #002536

    #002536

    oklch(24.9% 0.052 233.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400C0F

    #400C0F

    oklch(25% 0.08 22.1)

  • #042A02

    #042A02

    oklch(24.9% 0.079 141.9)

  • #0B1F47

    #0B1F47

    oklch(25% 0.079 262.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400C0F

    #400C0F

    oklch(25% 0.08 22.1)

  • #222400

    #222400

    oklch(25% 0.056 112.9)

  • #00272A

    #00272A

    oklch(24.8% 0.042 202.5)

  • #241844

    #241844

    oklch(25.1% 0.079 292.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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