#282118

Closest named color: Jet (#212529). oklch(25.3% 0.019 73.7), rgb(40, 33, 24).

Aa

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

About this color

#282118 is a dark close to neutral grey. In OKLCH its lightness is 25%, its chroma 0.019. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.030 away. White text reads best on it, at 15.89:1.

Hue familyNeutrals
Lightnessdark (25%)
Chromaclose to neutral grey (0.019)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.32:1
White text15.89:1

Values

HEX#282118
RGBrgb(40, 33, 24)
HSLhsl(34, 25%, 13%)
OKLCHoklch(25.3% 0.019 73.7)

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 #282118 15.89:1 AAA Lc -105.4 Preferred for body text
Black text on #282118 1.32:1 Fails Lc 0.0 Not readable
#282118 text on white 15.89:1 AAA Lc 102.8 Preferred for body text
#282118 text on black 1.32: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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #ECE9E5

    oklch(93.5% 0.006 75.4)

  3. Step 200

    200

    #DED8D0

    oklch(88.5% 0.013 75.4)

  4. Step 300

    300

    #CABFB1

    oklch(81% 0.023 74.1)

  5. Step 400

    400

    #AF9E88

    oklch(70.8% 0.037 74.2)

  6. Step 500

    500

    #9B866A

    oklch(63.2% 0.047 74.7)

  7. Step 600

    600

    #866F52

    oklch(55.6% 0.051 72.9)

  8. Step 700

    700

    #715D42

    oklch(49.1% 0.048 74.6)

  9. Step 800

    800

    #5C4C37

    oklch(42.7% 0.039 74)

  10. Step 900

    900

    #4C3F30

    oklch(37.7% 0.03 70.7)

  11. Step 950

    950 (this color)

    #282118

    oklch(25.3% 0.019 73.7)

Export this scale for Tailwind in the Tailwind colors tool

#282118 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)#2421170.008
Deuteranopia (no green cones)#2523180.009
Tritanopia (no blue cones)#2B1F1F0.018
Achromatopsia (no color)#2222220.019

Harmonies

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

Complementary

The opposite hue (180°).

  • #282118

    #282118

    oklch(25.3% 0.019 73.7)

  • #1C232C

    #1C232C

    oklch(25.3% 0.02 254.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282118

    #282118

    oklch(25.3% 0.019 73.7)

  • #2B1F1B

    #2B1F1B

    oklch(25.2% 0.02 39.2)

  • #242318

    #242318

    oklch(25.4% 0.02 103.4)

Open the analogous palette in the generator

Split complementary

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

  • #282118

    #282118

    oklch(25.3% 0.019 73.7)

  • #182429

    #182429

    oklch(25.1% 0.019 225.6)

  • #21212B

    #21212B

    oklch(25.2% 0.019 285)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282118

    #282118

    oklch(25.3% 0.019 73.7)

  • #172525

    #172525

    oklch(25.2% 0.019 196)

  • #262029

    #262029

    oklch(25.4% 0.019 314.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282118

    #282118

    oklch(25.3% 0.019 73.7)

  • #1A2520

    #1A2520

    oklch(25.2% 0.018 165.4)

  • #1C232C

    #1C232C

    oklch(25.3% 0.02 254.9)

  • #291F25

    #291F25

    oklch(25.4% 0.019 341.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282118 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.