#170C07

Closest named color: Almost Black (#070D0D). oklch(16.8% 0.022 46.6), rgb(23, 12, 7).

Aa

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

About this color

#170C07 is a very dark close to neutral grey. In OKLCH its lightness is 17%, its chroma 0.022. 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.22:1.

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

Values

HEX#170C07
RGBrgb(23, 12, 7)
HSLhsl(19, 53%, 6%)
OKLCHoklch(16.8% 0.022 46.6)

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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE8E6

    oklch(93.5% 0.007 39.5)

  3. Step 200

    200

    #E2D6D1

    oklch(88.4% 0.015 44.2)

  4. Step 300

    300

    #D0BCB3

    oklch(81% 0.026 45.8)

  5. Step 400

    400

    #B7998B

    oklch(70.6% 0.041 46.5)

  6. Step 500

    500

    #A5806E

    oklch(63.1% 0.053 47.2)

  7. Step 600

    600

    #906956

    oklch(55.6% 0.058 47)

  8. Step 700

    700

    #7B5746

    oklch(49.1% 0.055 46.3)

  9. Step 800

    800

    #64483A

    oklch(42.8% 0.045 47.7)

  10. Step 900

    900

    #513C32

    oklch(37.6% 0.034 46.6)

  11. Step 950

    950 (this color)

    #170C07

    oklch(16.8% 0.022 46.6)

Export this scale for Tailwind in the Tailwind colors tool

#170C07 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)#0F0D070.018
Deuteranopia (no green cones)#120F070.015
Tritanopia (no blue cones)#1A0A0B0.014
Achromatopsia (no color)#0F0F0F0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #170C07

    #170C07

    oklch(16.8% 0.022 46.6)

  • #051116

    #051116

    oklch(16.8% 0.021 225.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170C07

    #170C07

    oklch(16.8% 0.022 46.6)

  • #180B0C

    #180B0C

    oklch(16.9% 0.023 14.8)

  • #140E05

    #140E05

    oklch(16.8% 0.021 79.4)

Open the analogous palette in the generator

Split complementary

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

  • #170C07

    #170C07

    oklch(16.8% 0.022 46.6)

  • #031212

    #031212

    oklch(16.8% 0.023 195.2)

  • #090F19

    #090F19

    oklch(16.8% 0.023 260.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170C07

    #170C07

    oklch(16.8% 0.022 46.6)

  • #06120D

    #06120D

    oklch(16.8% 0.021 166.4)

  • #0E0E18

    #0E0E18

    oklch(16.9% 0.021 284)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170C07

    #170C07

    oklch(16.8% 0.022 46.6)

  • #0B1108

    #0B1108

    oklch(16.8% 0.021 135.2)

  • #051116

    #051116

    oklch(16.8% 0.021 225.2)

  • #130C15

    #130C15

    oklch(16.8% 0.021 318.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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