#42040C

Closest named color: Deep Brown (#410200). oklch(24.5% 0.091 20.7), rgb(66, 4, 12).

Aa

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

About this color

#42040C is a very dark, moderately saturated red. In OKLCH its lightness is 24%, its chroma 0.091 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.017 away. White text reads best on it, at 16.74:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.25:1
White text16.74:1

Values

HEX#42040C
RGBrgb(66, 4, 12)
HSLhsl(352, 89%, 14%)
OKLCHoklch(24.5% 0.091 20.7)

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 #42040C 16.74:1 AAA Lc -105.3 Preferred for body text
Black text on #42040C 1.25:1 Fails Lc 0.0 Not readable
#42040C text on white 16.74:1 AAA Lc 102.7 Preferred for body text
#42040C text on black 1.25: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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FEE2E1

    oklch(93.5% 0.031 20.2)

  3. Step 200

    200

    #FFCAC8

    oklch(88.5% 0.061 20.9)

  4. Step 300

    300

    #FFA4A3

    oklch(80.9% 0.108 20.4)

  5. Step 400

    400

    #FA6D71

    oklch(70.8% 0.173 20.9)

  6. Step 500

    500

    #F2364C

    oklch(63.1% 0.221 20.7)

  7. Step 600

    600

    #D70035

    oklch(55.6% 0.223 20.7)

  8. Step 700

    700

    #B6002B

    oklch(49.1% 0.197 20.8)

  9. Step 800

    800

    #970022

    oklch(42.8% 0.172 20.8)

  10. Step 900

    900

    #7C0A1E

    oklch(37.6% 0.144 20.4)

  11. Step 950

    950 (this color)

    #42040C

    oklch(24.5% 0.091 20.7)

Export this scale for Tailwind in the Tailwind colors tool

#42040C 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)#17150C0.102
Deuteranopia (no green cones)#27220A0.091
Tritanopia (no blue cones)#4A00070.019
Achromatopsia (no color)#1E1E1E0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #42040C

    #42040C

    oklch(24.5% 0.091 20.7)

  • #002628

    #002628

    oklch(24.4% 0.042 200.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #42040C

    #42040C

    oklch(24.5% 0.091 20.7)

  • #3D0526

    #3D0526

    oklch(24.4% 0.092 350.1)

  • #371500

    #371500

    oklch(24.4% 0.064 50.7)

Open the analogous palette in the generator

Split complementary

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

  • #42040C

    #42040C

    oklch(24.5% 0.091 20.7)

  • #00281D

    #00281D

    oklch(24.6% 0.049 169.8)

  • #002433

    #002433

    oklch(24.4% 0.049 230.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #42040C

    #42040C

    oklch(24.5% 0.091 20.7)

  • #042900

    #042900

    oklch(24.5% 0.08 140.9)

  • #041D4B

    #041D4B

    oklch(24.6% 0.091 260.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #42040C

    #42040C

    oklch(24.5% 0.091 20.7)

  • #222200

    #222200

    oklch(24.4% 0.053 109.8)

  • #002628

    #002628

    oklch(24.4% 0.042 200.1)

  • #221448

    #221448

    oklch(24.5% 0.092 290.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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