#18121E

Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.025 307), rgb(24, 18, 30).

Aa

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

About this color

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

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

Values

HEX#18121E
RGBrgb(24, 18, 30)
HSLhsl(270, 25%, 9%)
OKLCHoklch(19.6% 0.025 307)

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 #18121E 18.35:1 AAA Lc -107.1 Preferred for body text
Black text on #18121E 1.14:1 Fails Lc 0.0 Not readable
#18121E text on white 18.35:1 AAA Lc 105.0 Preferred for body text
#18121E 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EE

    oklch(93.5% 0.009 308.4)

  3. Step 200

    200

    #DCD6E2

    oklch(88.4% 0.017 308.2)

  4. Step 300

    300

    #C6BCD0

    oklch(81% 0.03 308.1)

  5. Step 400

    400

    #A899B8

    oklch(70.6% 0.047 307)

  6. Step 500

    500

    #9380A7

    oklch(63.1% 0.061 306.8)

  7. Step 600

    600

    #7D6992

    oklch(55.5% 0.066 306.6)

  8. Step 700

    700

    #6A577C

    oklch(49% 0.062 307.6)

  9. Step 800

    800

    #564865

    oklch(42.7% 0.05 306.4)

  10. Step 900

    900

    #473C52

    oklch(37.7% 0.039 307.3)

  11. Step 950

    950 (this color)

    #18121E

    oklch(19.6% 0.025 307)

Export this scale for Tailwind in the Tailwind colors tool

#18121E 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)#10141E0.017
Deuteranopia (no green cones)#11141E0.015
Tritanopia (no blue cones)#1714160.020
Achromatopsia (no color)#1414140.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #18121E

    #18121E

    oklch(19.6% 0.025 307)

  • #12170B

    #12170B

    oklch(19.5% 0.024 126.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #18121E

    #18121E

    oklch(19.6% 0.025 307)

  • #121420

    #121420

    oklch(19.5% 0.024 276.6)

  • #1C1119

    #1C1119

    oklch(19.6% 0.024 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #18121E

    #18121E

    oklch(19.6% 0.025 307)

  • #181507

    #181507

    oklch(19.5% 0.026 97.8)

  • #0B1910

    #0B1910

    oklch(19.7% 0.027 154.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #18121E

    #18121E

    oklch(19.6% 0.025 307)

  • #1D1308

    #1D1308

    oklch(19.7% 0.026 68.3)

  • #061917

    #061917

    oklch(19.6% 0.026 186.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #18121E

    #18121E

    oklch(19.6% 0.025 307)

  • #1F110D

    #1F110D

    oklch(19.6% 0.025 36.6)

  • #12170B

    #12170B

    oklch(19.5% 0.024 126.9)

  • #06181C

    #06181C

    oklch(19.6% 0.025 213.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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