#1F180B

Closest named color: Dark Brown (#341C02). oklch(21.4% 0.026 82.1), rgb(31, 24, 11).

Aa

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

About this color

#1F180B is a very dark close to neutral grey. In OKLCH its lightness is 21%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.050 away. White text reads best on it, at 17.59:1.

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.19:1
White text17.59:1

Values

HEX#1F180B
RGBrgb(31, 24, 11)
HSLhsl(39, 48%, 8%)
OKLCHoklch(21.4% 0.026 82.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 #1F180B 17.59:1 AAA Lc -106.6 Preferred for body text
Black text on #1F180B 1.19:1 Fails Lc 0.0 Not readable
#1F180B text on white 17.59:1 AAA Lc 104.4 Preferred for body text
#1F180B text on black 1.19: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

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDE9E3

    oklch(93.5% 0.009 78.3)

  3. Step 200

    200

    #DFD8CD

    oklch(88.5% 0.017 79.3)

  4. Step 300

    300

    #CABFAB

    oklch(80.8% 0.03 82.6)

  5. Step 400

    400

    #B09E7F

    oklch(70.7% 0.048 81.2)

  6. Step 500

    500

    #9C865E

    oklch(63% 0.062 82.1)

  7. Step 600

    600

    #877044

    oklch(55.7% 0.068 82.8)

  8. Step 700

    700

    #725D36

    oklch(49% 0.062 81.9)

  9. Step 800

    800

    #5D4C2D

    oklch(42.6% 0.051 81.7)

  10. Step 900

    900

    #4C4028

    oklch(37.7% 0.041 84)

  11. Step 950

    950 (this color)

    #1F180B

    oklch(21.4% 0.026 82.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F180B 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)#1B180A0.009
Deuteranopia (no green cones)#1D1A0B0.008
Tritanopia (no blue cones)#2216150.023
Achromatopsia (no color)#1919190.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F180B

    #1F180B

    oklch(21.4% 0.026 82.1)

  • #131925

    #131925

    oklch(21.3% 0.026 263.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F180B

    #1F180B

    oklch(21.4% 0.026 82.1)

  • #23160E

    #23160E

    oklch(21.5% 0.026 52.5)

  • #191A0C

    #191A0C

    oklch(21.2% 0.025 111.9)

Open the analogous palette in the generator

Split complementary

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

  • #1F180B

    #1F180B

    oklch(21.4% 0.026 82.1)

  • #0C1B23

    #0C1B23

    oklch(21.3% 0.026 233.1)

  • #191724

    #191724

    oklch(21.3% 0.025 291.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F180B

    #1F180B

    oklch(21.4% 0.026 82.1)

  • #091D1E

    #091D1E

    oklch(21.5% 0.026 199.7)

  • #1F1520

    #1F1520

    oklch(21.3% 0.026 323.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F180B

    #1F180B

    oklch(21.4% 0.026 82.1)

  • #0C1D18

    #0C1D18

    oklch(21.4% 0.025 172.9)

  • #131925

    #131925

    oklch(21.3% 0.026 263.8)

  • #22141A

    #22141A

    oklch(21.2% 0.025 352.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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