#18151C

Closest named color: Rich Black (#0D1B2A). oklch(20.2% 0.014 304.6), rgb(24, 21, 28).

Aa

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

About this color

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

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

Values

HEX#18151C
RGBrgb(24, 21, 28)
HSLhsl(266, 14%, 10%)
OKLCHoklch(20.2% 0.014 304.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 #18151C 18.05:1 AAA Lc -106.9 Preferred for body text
Black text on #18151C 1.16:1 Fails Lc 0.0 Not readable
#18151C text on white 18.05:1 AAA Lc 104.8 Preferred for body text
#18151C text on black 1.16: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

    #EAE9EC

    oklch(93.6% 0.004 301.4)

  3. Step 200

    200

    #DAD8DE

    oklch(88.6% 0.008 301.3)

  4. Step 300

    300

    #C3BECA

    oklch(80.9% 0.017 304.7)

  5. Step 400

    400

    #A49DAF

    oklch(70.8% 0.027 303.3)

  6. Step 500

    500

    #8E859B

    oklch(63.2% 0.034 304)

  7. Step 600

    600

    #786E86

    oklch(55.6% 0.038 304.1)

  8. Step 700

    700

    #655C71

    oklch(49.1% 0.035 304.6)

  9. Step 800

    800

    #524B5C

    oklch(42.6% 0.029 303.9)

  10. Step 900

    900

    #443F4C

    oklch(37.8% 0.023 302.8)

  11. Step 950

    950 (this color)

    #18151C

    oklch(20.2% 0.014 304.6)

Export this scale for Tailwind in the Tailwind colors tool

#18151C 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)#14161C0.008
Deuteranopia (no green cones)#14161C0.008
Tritanopia (no blue cones)#1716170.012
Achromatopsia (no color)#1616160.015

Harmonies

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

This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.

Palettes with this color

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

Similar named colors

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

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