#1F150F

Closest named color: Rich Black (#0D1B2A). oklch(20.7% 0.02 52.2), rgb(31, 21, 15).

Aa

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

About this color

#1F150F is a very dark close to neutral grey. In OKLCH its lightness is 21%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.056 away. White text reads best on it, at 17.91:1.

Hue familyNeutrals
Lightnessvery dark (21%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.91:1

Values

HEX#1F150F
RGBrgb(31, 21, 15)
HSLhsl(23, 35%, 9%)
OKLCHoklch(20.7% 0.02 52.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 #1F150F 17.91:1 AAA Lc -106.8 Preferred for body text
Black text on #1F150F 1.17:1 Fails Lc 0.0 Not readable
#1F150F text on white 17.91:1 AAA Lc 104.6 Preferred for body text
#1F150F text on black 1.17: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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E6

    oklch(93.7% 0.007 53.4)

  3. Step 200

    200

    #E1D7D1

    oklch(88.5% 0.014 53.3)

  4. Step 300

    300

    #CEBDB3

    oklch(81% 0.024 52.6)

  5. Step 400

    400

    #B59B8B

    oklch(70.8% 0.038 53.5)

  6. Step 500

    500

    #A2826F

    oklch(63.2% 0.048 52.3)

  7. Step 600

    600

    #8D6B57

    oklch(55.7% 0.053 51.8)

  8. Step 700

    700

    #775947

    oklch(49% 0.048 52.2)

  9. Step 800

    800

    #61493A

    oklch(42.7% 0.041 53.3)

  10. Step 900

    900

    #4F3D32

    oklch(37.6% 0.031 52.9)

  11. Step 950

    950 (this color)

    #1F150F

    oklch(20.7% 0.02 52.2)

Export this scale for Tailwind in the Tailwind colors tool

#1F150F 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)#18160F0.015
Deuteranopia (no green cones)#1A180F0.015
Tritanopia (no blue cones)#2213130.014
Achromatopsia (no color)#1717170.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F150F

    #1F150F

    oklch(20.7% 0.02 52.2)

  • #0E191F

    #0E191F

    oklch(20.6% 0.02 232.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F150F

    #1F150F

    oklch(20.7% 0.02 52.2)

  • #201413

    #201413

    oklch(20.7% 0.02 24.3)

  • #1C170D

    #1C170D

    oklch(20.7% 0.02 84.2)

Open the analogous palette in the generator

Split complementary

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

  • #1F150F

    #1F150F

    oklch(20.7% 0.02 52.2)

  • #0C1A1B

    #0C1A1B

    oklch(20.6% 0.02 201.6)

  • #131821

    #131821

    oklch(20.8% 0.02 262.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F150F

    #1F150F

    oklch(20.7% 0.02 52.2)

  • #0E1B16

    #0E1B16

    oklch(20.8% 0.021 168.2)

  • #181620

    #181620

    oklch(20.7% 0.02 293.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F150F

    #1F150F

    oklch(20.7% 0.02 52.2)

  • #121A11

    #121A11

    oklch(20.6% 0.021 141.9)

  • #0E191F

    #0E191F

    oklch(20.6% 0.02 232.9)

  • #1C141D

    #1C141D

    oklch(20.5% 0.021 322.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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