#170C0E

Closest named color: Almost Black (#070D0D). oklch(17.1% 0.019 7.4), rgb(23, 12, 14).

Aa

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

About this color

#170C0E is a very dark close to neutral grey. In OKLCH its lightness is 17%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.035 away. White text reads best on it, at 19.17:1.

Hue familyNeutrals
Lightnessvery dark (17%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.09:1
White text19.17:1

Values

HEX#170C0E
RGBrgb(23, 12, 14)
HSLhsl(349, 31%, 7%)
OKLCHoklch(17.1% 0.019 7.4)

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 #170C0E 19.17:1 AAA Lc -107.5 Preferred for body text
Black text on #170C0E 1.09:1 Fails Lc 0.0 Not readable
#170C0E text on white 19.17:1 AAA Lc 105.5 Preferred for body text
#170C0E text on black 1.09: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

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EEE8E9

    oklch(93.6% 0.007 5.6)

  3. Step 200

    200

    #E1D6D7

    oklch(88.5% 0.012 11)

  4. Step 300

    300

    #CFBBBE

    oklch(81% 0.023 7.3)

  5. Step 400

    400

    #B6989C

    oklch(70.8% 0.036 9)

  6. Step 500

    500

    #A37E84

    oklch(63% 0.047 7.6)

  7. Step 600

    600

    #8E676E

    oklch(55.6% 0.051 6.9)

  8. Step 700

    700

    #79565C

    oklch(49.2% 0.047 7.6)

  9. Step 800

    800

    #62464B

    oklch(42.6% 0.039 7)

  10. Step 900

    900

    #503B3F

    oklch(37.7% 0.03 5.9)

  11. Step 950

    950 (this color)

    #170C0E

    oklch(17.1% 0.019 7.4)

Export this scale for Tailwind in the Tailwind colors tool

#170C0E 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)#0E0E0E0.021
Deuteranopia (no green cones)#10100E0.021
Tritanopia (no blue cones)#190B0D0.005
Achromatopsia (no color)#0F0F0F0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #170C0E

    #170C0E

    oklch(17.1% 0.019 7.4)

  • #051211

    #051211

    oklch(16.9% 0.02 189.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170C0E

    #170C0E

    oklch(17.1% 0.019 7.4)

  • #150C13

    #150C13

    oklch(17% 0.021 334.6)

  • #170D09

    #170D09

    oklch(17.2% 0.019 42.8)

Open the analogous palette in the generator

Split complementary

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

  • #170C0E

    #170C0E

    oklch(17.1% 0.019 7.4)

  • #08120C

    #08120C

    oklch(17% 0.02 157.5)

  • #061215

    #061215

    oklch(17.2% 0.019 214.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170C0E

    #170C0E

    oklch(17.1% 0.019 7.4)

  • #0D1108

    #0D1108

    oklch(17% 0.019 127.5)

  • #091018

    #091018

    oklch(17% 0.02 252.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170C0E

    #170C0E

    oklch(17.1% 0.019 7.4)

  • #121006

    #121006

    oklch(17.2% 0.02 98.9)

  • #051211

    #051211

    oklch(16.9% 0.02 189.4)

  • #0D0F18

    #0D0F18

    oklch(17.1% 0.019 274.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #170C0E 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.