#28181A

Closest named color: Jet (#212529). oklch(23.1% 0.026 11.1), rgb(40, 24, 26).

Aa

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

About this color

#28181A is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.026. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.045 away. White text reads best on it, at 16.99:1.

Hue familyNeutrals
Lightnessvery dark (23%)
Chromaclose to neutral grey (0.026)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.23:1
White text16.99:1

Values

HEX#28181A
RGBrgb(40, 24, 26)
HSLhsl(353, 25%, 13%)
OKLCHoklch(23.1% 0.026 11.1)

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 #28181A 16.99:1 AAA Lc -106.2 Preferred for body text
Black text on #28181A 1.23:1 Fails Lc 0.0 Not readable
#28181A text on white 16.99:1 AAA Lc 103.9 Preferred for body text
#28181A text on black 1.23: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

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #F0E7E8

    oklch(93.5% 0.01 9.5)

  3. Step 200

    200

    #E4D5D6

    oklch(88.5% 0.017 12.8)

  4. Step 300

    300

    #D4B9BC

    oklch(81% 0.031 10.2)

  5. Step 400

    400

    #BD9499

    oklch(70.6% 0.05 10.2)

  6. Step 500

    500

    #AC7A80

    oklch(63.1% 0.063 11.1)

  7. Step 600

    600

    #976269

    oklch(55.5% 0.069 10.9)

  8. Step 700

    700

    #815158

    oklch(49.1% 0.065 10.2)

  9. Step 800

    800

    #694348

    oklch(42.8% 0.053 10.9)

  10. Step 900

    900

    #55393C

    oklch(37.8% 0.04 12.1)

  11. Step 950

    950 (this color)

    #28181A

    oklch(23.1% 0.026 11.1)

Export this scale for Tailwind in the Tailwind colors tool

#28181A 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)#1B1A1A0.027
Deuteranopia (no green cones)#1E1D1A0.026
Tritanopia (no blue cones)#2B17190.007
Achromatopsia (no color)#1C1C1C0.026

Harmonies

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

Complementary

The opposite hue (180°).

  • #28181A

    #28181A

    oklch(23.1% 0.026 11.1)

  • #0D2120

    #0D2120

    oklch(23.1% 0.026 191.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28181A

    #28181A

    oklch(23.1% 0.026 11.1)

  • #261821

    #261821

    oklch(23.1% 0.027 340.6)

  • #281914

    #281914

    oklch(23.1% 0.026 39.2)

Open the analogous palette in the generator

Split complementary

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

  • #28181A

    #28181A

    oklch(23.1% 0.026 11.1)

  • #122119

    #122119

    oklch(23.1% 0.026 160.2)

  • #0E2026

    #0E2026

    oklch(23.1% 0.026 221.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28181A

    #28181A

    oklch(23.1% 0.026 11.1)

  • #192013

    #192013

    oklch(23.2% 0.026 131.2)

  • #141E29

    #141E29

    oklch(23.1% 0.026 251.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28181A

    #28181A

    oklch(23.1% 0.026 11.1)

  • #201E0F

    #201E0F

    oklch(23.3% 0.027 101.6)

  • #0D2120

    #0D2120

    oklch(23.1% 0.026 191.3)

  • #1B1C29

    #1B1C29

    oklch(23.2% 0.025 280.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28181A 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.