#18121C

Closest named color: Rich Black (#0D1B2A). oklch(19.4% 0.022 311.5), rgb(24, 18, 28).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessvery dark (19%)
Chromaclose to neutral grey (0.022)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.38:1

Values

HEX#18121C
RGBrgb(24, 18, 28)
HSLhsl(276, 22%, 9%)
OKLCHoklch(19.4% 0.022 311.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 #18121C 18.38:1 AAA Lc -107.1 Preferred for body text
Black text on #18121C 1.14:1 Fails Lc 0.0 Not readable
#18121C text on white 18.38:1 AAA Lc 105.0 Preferred for body text
#18121C text on black 1.14: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE8ED

    oklch(93.5% 0.007 312.3)

  3. Step 200

    200

    #DCD7E0

    oklch(88.6% 0.013 310.5)

  4. Step 300

    300

    #C6BCCD

    oklch(80.9% 0.026 311.7)

  5. Step 400

    400

    #A99AB4

    oklch(70.8% 0.041 311)

  6. Step 500

    500

    #9481A1

    oklch(63.1% 0.052 311.5)

  7. Step 600

    600

    #7E6A8C

    oklch(55.6% 0.057 311.1)

  8. Step 700

    700

    #6B5877

    oklch(49.1% 0.054 312.1)

  9. Step 800

    800

    #574861

    oklch(42.7% 0.045 311.6)

  10. Step 900

    900

    #483D4F

    oklch(37.9% 0.033 312.2)

  11. Step 950

    950 (this color)

    #18121C

    oklch(19.4% 0.022 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#18121C 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)#10141C0.017
Deuteranopia (no green cones)#12141C0.013
Tritanopia (no blue cones)#1813150.016
Achromatopsia (no color)#1414140.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #18121C

    #18121C

    oklch(19.4% 0.022 311.5)

  • #11170D

    #11170D

    oklch(19.5% 0.021 133.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18121C

    #18121C

    oklch(19.4% 0.022 311.5)

  • #13141E

    #13141E

    oklch(19.5% 0.02 279.9)

  • #1C1118

    #1C1118

    oklch(19.5% 0.022 340.9)

Open the analogous palette in the generator

Split complementary

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

  • #18121C

    #18121C

    oklch(19.4% 0.022 311.5)

  • #171509

    #171509

    oklch(19.4% 0.022 100)

  • #0C1812

    #0C1812

    oklch(19.5% 0.021 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18121C

    #18121C

    oklch(19.4% 0.022 311.5)

  • #1B130A

    #1B130A

    oklch(19.4% 0.021 69.3)

  • #081817

    #081817

    oklch(19.5% 0.022 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18121C

    #18121C

    oklch(19.4% 0.022 311.5)

  • #1D120D

    #1D120D

    oklch(19.5% 0.021 45.4)

  • #11170D

    #11170D

    oklch(19.5% 0.021 133.3)

  • #09171C

    #09171C

    oklch(19.4% 0.022 223)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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