#1F040B

Closest named color: Very Dark Brown (#1D0200). oklch(16.6% 0.05 6.2), rgb(31, 4, 11).

Aa

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

About this color

#1F040B is a very dark, muted red. In OKLCH its lightness is 17%, its chroma 0.050 and its hue 6°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.029 away. White text reads best on it, at 19.43:1.

Hue familyReds
Lightnessvery dark (17%)
Chromamuted (0.050)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.08:1
White text19.43:1

Values

HEX#1F040B
RGBrgb(31, 4, 11)
HSLhsl(344, 77%, 7%)
OKLCHoklch(16.6% 0.05 6.2)

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 #1F040B 19.43:1 AAA Lc -107.4 Preferred for body text
Black text on #1F040B 1.08:1 Fails Lc 0.0 Not readable
#1F040B text on white 19.43:1 AAA Lc 105.4 Preferred for body text
#1F040B text on black 1.08: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

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F5E5E8

    oklch(93.5% 0.018 4.5)

  3. Step 200

    200

    #EED1D6

    oklch(88.6% 0.033 6)

  4. Step 300

    300

    #E3B1BA

    oklch(80.8% 0.059 6.4)

  5. Step 400

    400

    #D38797

    oklch(70.6% 0.095 6.1)

  6. Step 500

    500

    #C6687E

    oklch(63.2% 0.121 6.3)

  7. Step 600

    600

    #B14D67

    oklch(55.6% 0.132 6.2)

  8. Step 700

    700

    #983E56

    oklch(49.2% 0.123 6.1)

  9. Step 800

    800

    #7B3446

    oklch(42.7% 0.1 6.5)

  10. Step 900

    900

    #642E3B

    oklch(37.8% 0.079 6.4)

  11. Step 950

    950 (this color)

    #1F040B

    oklch(16.6% 0.05 6.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F040B 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)#09090B0.055
Deuteranopia (no green cones)#100F0A0.051
Tritanopia (no blue cones)#2302060.014
Achromatopsia (no color)#0D0D0D0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F040B

    #1F040B

    oklch(16.6% 0.05 6.2)

  • #001210

    #001210

    oklch(16.4% 0.029 186.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F040B

    #1F040B

    oklch(16.6% 0.05 6.2)

  • #1B0516

    #1B0516

    oklch(16.5% 0.05 337)

  • #200501

    #200501

    oklch(16.7% 0.051 36.8)

Open the analogous palette in the generator

Split complementary

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

  • #1F040B

    #1F040B

    oklch(16.6% 0.05 6.2)

  • #001307

    #001307

    oklch(16.4% 0.04 156.3)

  • #001117

    #001117

    oklch(16.4% 0.03 219.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F040B

    #1F040B

    oklch(16.6% 0.05 6.2)

  • #0A1100

    #0A1100

    oklch(16.4% 0.041 125.2)

  • #000F20

    #000F20

    oklch(16.4% 0.044 247.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F040B

    #1F040B

    oklch(16.6% 0.05 6.2)

  • #130E00

    #130E00

    oklch(16.5% 0.034 95)

  • #001210

    #001210

    oklch(16.4% 0.029 186.3)

  • #090B23

    #090B23

    oklch(16.4% 0.049 275.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1F040B 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.