#2A171D

Closest named color: Jet (#212529). oklch(23.3% 0.032 359.5), rgb(42, 23, 29).

Aa

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

About this color

#2A171D is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.032 and its hue 359°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.047 away. White text reads best on it, at 16.95:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.23:1
White text16.95:1

Values

HEX#2A171D
RGBrgb(42, 23, 29)
HSLhsl(341, 29%, 13%)
OKLCHoklch(23.3% 0.032 359.5)

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 #2A171D 16.95:1 AAA Lc -106.2 Preferred for body text
Black text on #2A171D 1.23:1 Fails Lc 0.0 Not readable
#2A171D text on white 16.95:1 AAA Lc 103.8 Preferred for body text
#2A171D 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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F1E7E9

    oklch(93.6% 0.011 3.5)

  3. Step 200

    200

    #E6D4D8

    oklch(88.6% 0.021 2.3)

  4. Step 300

    300

    #D7B7C0

    oklch(81% 0.039 359.2)

  5. Step 400

    400

    #C1919F

    oklch(70.6% 0.061 359.6)

  6. Step 500

    500

    #B17688

    oklch(63.2% 0.077 359.7)

  7. Step 600

    600

    #9C5E72

    oklch(55.7% 0.085 359.4)

  8. Step 700

    700

    #854D5F

    oklch(49.1% 0.079 359.7)

  9. Step 800

    800

    #6C3F4E

    oklch(42.6% 0.066 358.8)

  10. Step 900

    900

    #583641

    oklch(37.7% 0.051 358.9)

  11. Step 950

    950 (this color)

    #2A171D

    oklch(23.3% 0.032 359.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A171D 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)#1A1A1D0.034
Deuteranopia (no green cones)#1E1E1D0.033
Tritanopia (no blue cones)#2D16190.009
Achromatopsia (no color)#1C1C1C0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A171D

    #2A171D

    oklch(23.3% 0.032 359.5)

  • #0A221E

    #0A221E

    oklch(23.1% 0.031 181)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A171D

    #2A171D

    oklch(23.3% 0.032 359.5)

  • #261825

    #261825

    oklch(23.3% 0.032 329)

  • #2B1815

    #2B1815

    oklch(23.4% 0.032 29.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A171D

    #2A171D

    oklch(23.3% 0.032 359.5)

  • #122215

    #122215

    oklch(23.3% 0.033 149.2)

  • #082226

    #082226

    oklch(23.4% 0.032 209.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A171D

    #2A171D

    oklch(23.3% 0.032 359.5)

  • #1C200E

    #1C200E

    oklch(23.4% 0.032 119.2)

  • #0E202B

    #0E202B

    oklch(23.4% 0.032 237.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A171D

    #2A171D

    oklch(23.3% 0.032 359.5)

  • #241D0B

    #241D0B

    oklch(23.4% 0.032 88.6)

  • #0A221E

    #0A221E

    oklch(23.1% 0.031 181)

  • #171D2D

    #171D2D

    oklch(23.3% 0.032 268.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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