#2A181B

Closest named color: Jet (#212529). oklch(23.4% 0.029 8.7), rgb(42, 24, 27).

Aa

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

About this color

#2A181B is a very dark close to neutral grey. In OKLCH its lightness is 23%, its chroma 0.029. 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.86:1.

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

Values

HEX#2A181B
RGBrgb(42, 24, 27)
HSLhsl(350, 27%, 13%)
OKLCHoklch(23.4% 0.029 8.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 #2A181B 16.86:1 AAA Lc -106.1 Preferred for body text
Black text on #2A181B 1.24:1 Fails Lc 0.0 Not readable
#2A181B text on white 16.86:1 AAA Lc 103.7 Preferred for body text
#2A181B text on black 1.24: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

    #E5D4D6

    oklch(88.4% 0.019 9.4)

  4. Step 300

    300

    #D6B8BC

    oklch(81% 0.035 8.8)

  5. Step 400

    400

    #C09399

    oklch(70.7% 0.055 9.6)

  6. Step 500

    500

    #B07881

    oklch(63.2% 0.071 8.7)

  7. Step 600

    600

    #9B606A

    oklch(55.7% 0.078 8.9)

  8. Step 700

    700

    #844F58

    oklch(49.1% 0.072 9.1)

  9. Step 800

    800

    #6B4148

    oklch(42.7% 0.059 9)

  10. Step 900

    900

    #57373C

    oklch(37.6% 0.046 9.3)

  11. Step 950

    950 (this color)

    #2A181B

    oklch(23.4% 0.029 8.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A181B 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)#1B1B1B0.032
Deuteranopia (no green cones)#1F1E1B0.029
Tritanopia (no blue cones)#2D17190.007
Achromatopsia (no color)#1D1D1D0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A181B

    #2A181B

    oklch(23.4% 0.029 8.7)

  • #0B2221

    #0B2221

    oklch(23.3% 0.029 191.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A181B

    #2A181B

    oklch(23.4% 0.029 8.7)

  • #271823

    #271823

    oklch(23.3% 0.031 336.7)

  • #2A1914

    #2A1914

    oklch(23.4% 0.029 37.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A181B

    #2A181B

    oklch(23.4% 0.029 8.7)

  • #112219

    #112219

    oklch(23.4% 0.029 159.9)

  • #0C2127

    #0C2127

    oklch(23.3% 0.029 218.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A181B

    #2A181B

    oklch(23.4% 0.029 8.7)

  • #1A2112

    #1A2112

    oklch(23.6% 0.029 128.8)

  • #131F2B

    #131F2B

    oklch(23.4% 0.029 249.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A181B

    #2A181B

    oklch(23.4% 0.029 8.7)

  • #211E0D

    #211E0D

    oklch(23.3% 0.03 99.5)

  • #0B2221

    #0B2221

    oklch(23.3% 0.029 191.6)

  • #1B1C2C

    #1B1C2C

    oklch(23.3% 0.031 281)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A181B 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.