#1C170F

Closest named color: Rich Black (#0D1B2A). oklch(20.8% 0.017 79.3), rgb(28, 23, 15).

Aa

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

About this color

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

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

Values

HEX#1C170F
RGBrgb(28, 23, 15)
HSLhsl(37, 30%, 8%)
OKLCHoklch(20.8% 0.017 79.3)

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 #1C170F 17.81:1 AAA Lc -106.8 Preferred for body text
Black text on #1C170F 1.17:1 Fails Lc 0.0 Not readable
#1C170F text on white 17.81:1 AAA Lc 104.6 Preferred for body text
#1C170F 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #ECE9E6

    oklch(93.6% 0.005 67.8)

  3. Step 200

    200

    #DDD8D1

    oklch(88.4% 0.011 76.6)

  4. Step 300

    300

    #C8BFB3

    oklch(80.9% 0.019 75.3)

  5. Step 400

    400

    #AB9F8B

    oklch(70.7% 0.032 80.6)

  6. Step 500

    500

    #97876E

    oklch(63.1% 0.041 78.9)

  7. Step 600

    600

    #817156

    oklch(55.6% 0.044 80.6)

  8. Step 700

    700

    #6D5E46

    oklch(49% 0.041 79.2)

  9. Step 800

    800

    #594D3A

    oklch(42.7% 0.034 79)

  10. Step 900

    900

    #494032

    oklch(37.6% 0.026 78.7)

  11. Step 950

    950 (this color)

    #1C170F

    oklch(20.8% 0.017 79.3)

Export this scale for Tailwind in the Tailwind colors tool

#1C170F 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)#19170E0.007
Deuteranopia (no green cones)#1A180F0.005
Tritanopia (no blue cones)#1E16150.014
Achromatopsia (no color)#1818180.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #1C170F

    #1C170F

    oklch(20.8% 0.017 79.3)

  • #131820

    #131820

    oklch(20.8% 0.018 259.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1C170F

    #1C170F

    oklch(20.8% 0.017 79.3)

  • #1E1611

    #1E1611

    oklch(20.8% 0.016 53.6)

  • #181910

    #181910

    oklch(20.9% 0.017 113)

Open the analogous palette in the generator

Split complementary

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

  • #1C170F

    #1C170F

    oklch(20.8% 0.017 79.3)

  • #10191E

    #10191E

    oklch(20.7% 0.017 232.9)

  • #17171F

    #17171F

    oklch(20.8% 0.016 285)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1C170F

    #1C170F

    oklch(20.8% 0.017 79.3)

  • #0E1A1B

    #0E1A1B

    oklch(20.7% 0.017 202.5)

  • #1B151D

    #1B151D

    oklch(20.7% 0.018 317.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1C170F

    #1C170F

    oklch(20.8% 0.017 79.3)

  • #101A16

    #101A16

    oklch(20.6% 0.017 168.1)

  • #131820

    #131820

    oklch(20.8% 0.018 259.7)

  • #1E1519

    #1E1519

    oklch(20.9% 0.016 350.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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