#12181E

Closest named color: Rich Black (#0D1B2A). oklch(20.6% 0.015 248.6), rgb(18, 24, 30).

Aa

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

About this color

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

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

Values

HEX#12181E
RGBrgb(18, 24, 30)
HSLhsl(210, 25%, 9%)
OKLCHoklch(20.6% 0.015 248.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 #12181E 17.87:1 AAA Lc -106.8 Preferred for body text
Black text on #12181E 1.17:1 Fails Lc 0.0 Not readable
#12181E text on white 17.87:1 AAA Lc 104.6 Preferred for body text
#12181E 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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E7EAED

    oklch(93.6% 0.005 247.9)

  3. Step 200

    200

    #D4DADF

    oklch(88.5% 0.009 242.9)

  4. Step 300

    300

    #B8C2CC

    oklch(80.9% 0.018 248)

  5. Step 400

    400

    #93A3B2

    oklch(70.8% 0.028 246.5)

  6. Step 500

    500

    #798C9F

    oklch(63.2% 0.036 248.4)

  7. Step 600

    600

    #61768A

    oklch(55.6% 0.04 247.3)

  8. Step 700

    700

    #516375

    oklch(49.2% 0.036 248.6)

  9. Step 800

    800

    #42515F

    oklch(42.8% 0.03 246.7)

  10. Step 900

    900

    #38434E

    oklch(37.7% 0.024 248.5)

  11. Step 950

    950 (this color)

    #12181E

    oklch(20.6% 0.015 248.6)

Export this scale for Tailwind in the Tailwind colors tool

#12181E 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)#16181E0.007
Deuteranopia (no green cones)#14171E0.005
Tritanopia (no blue cones)#0E191A0.012
Achromatopsia (no color)#1717170.015

Harmonies

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

Complementary

The opposite hue (180°).

  • #12181E

    #12181E

    oklch(20.6% 0.015 248.6)

  • #1C1610

    #1C1610

    oklch(20.5% 0.015 66.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12181E

    #12181E

    oklch(20.6% 0.015 248.6)

  • #10191C

    #10191C

    oklch(20.6% 0.014 220.4)

  • #16171E

    #16171E

    oklch(20.7% 0.014 278.7)

Open the analogous palette in the generator

Split complementary

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

  • #12181E

    #12181E

    oklch(20.6% 0.015 248.6)

  • #1E1512

    #1E1512

    oklch(20.6% 0.016 39.2)

  • #191710

    #191710

    oklch(20.4% 0.014 94)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12181E

    #12181E

    oklch(20.6% 0.015 248.6)

  • #1E1516

    #1E1516

    oklch(20.8% 0.015 11)

  • #151911

    #151911

    oklch(20.6% 0.017 129.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12181E

    #12181E

    oklch(20.6% 0.015 248.6)

  • #1C151A

    #1C151A

    oklch(20.7% 0.015 336.5)

  • #1C1610

    #1C1610

    oklch(20.5% 0.015 66.8)

  • #121915

    #121915

    oklch(20.5% 0.013 159.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12181E 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.