#08120C

Closest named color: Almost Black (#070D0D). oklch(17% 0.02 157.5), rgb(8, 18, 12).

Aa

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

About this color

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

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

Values

HEX#08120C
RGBrgb(8, 18, 12)
HSLhsl(144, 38%, 5%)
OKLCHoklch(17% 0.02 157.5)

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 #08120C 19.05:1 AAA Lc -107.4 Preferred for body text
Black text on #08120C 1.10:1 Fails Lc 0.0 Not readable
#08120C text on white 19.05:1 AAA Lc 105.4 Preferred for body text
#08120C text on black 1.10: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

    #F4F6F5

    oklch(97.1% 0.002 165.1)

  2. Step 100

    100

    #E6EBE8

    oklch(93.5% 0.007 160.1)

  3. Step 200

    200

    #D2DCD6

    oklch(88.5% 0.013 159.9)

  4. Step 300

    300

    #B5C5BB

    oklch(80.8% 0.022 158.5)

  5. Step 400

    400

    #8EA898

    oklch(70.7% 0.037 158.3)

  6. Step 500

    500

    #72937E

    oklch(63.2% 0.048 156.8)

  7. Step 600

    600

    #5A7D68

    oklch(55.7% 0.051 157.9)

  8. Step 700

    700

    #4A6956

    oklch(49.1% 0.047 157.2)

  9. Step 800

    800

    #3D5646

    oklch(42.8% 0.04 156.2)

  10. Step 900

    900

    #34473B

    oklch(37.8% 0.032 156.8)

  11. Step 950

    950 (this color)

    #08120C

    oklch(17% 0.02 157.5)

Export this scale for Tailwind in the Tailwind colors tool

#08120C 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)#12110C0.018
Deuteranopia (no green cones)#100F0C0.018
Tritanopia (no blue cones)#0612100.008
Achromatopsia (no color)#1010100.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #08120C

    #08120C

    oklch(17% 0.02 157.5)

  • #150C12

    #150C12

    oklch(16.9% 0.019 339.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08120C

    #08120C

    oklch(17% 0.02 157.5)

  • #0D1108

    #0D1108

    oklch(17% 0.019 127.5)

  • #051211

    #051211

    oklch(16.9% 0.02 189.4)

Open the analogous palette in the generator

Split complementary

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

  • #08120C

    #08120C

    oklch(17% 0.02 157.5)

  • #120D16

    #120D16

    oklch(17% 0.02 309.6)

  • #170C0E

    #170C0E

    oklch(17.1% 0.019 7.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08120C

    #08120C

    oklch(17% 0.02 157.5)

  • #0D0F18

    #0D0F18

    oklch(17.1% 0.019 274.5)

  • #170C09

    #170C09

    oklch(16.9% 0.02 36.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08120C

    #08120C

    oklch(17% 0.02 157.5)

  • #081018

    #081018

    oklch(16.9% 0.021 248.8)

  • #150C12

    #150C12

    oklch(16.9% 0.019 339.4)

  • #150E06

    #150E06

    oklch(17% 0.02 71.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08120C 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.