#2E171F

Closest named color: Jet (#212529). oklch(24% 0.039 358.2), rgb(46, 23, 31).

Aa

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

About this color

#2E171F is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.039 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.049 away. White text reads best on it, at 16.68:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.25:1
White text16.68:1

Values

HEX#2E171F
RGBrgb(46, 23, 31)
HSLhsl(339, 33%, 14%)
OKLCHoklch(24% 0.039 358.2)

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 #2E171F 16.68:1 AAA Lc -106.0 Preferred for body text
Black text on #2E171F 1.25:1 Fails Lc 0.0 Not readable
#2E171F text on white 16.68:1 AAA Lc 103.5 Preferred for body text
#2E171F text on black 1.25: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

    #F2E6EA

    oklch(93.6% 0.014 355)

  3. Step 200

    200

    #E8D2D9

    oklch(88.4% 0.026 356.4)

  4. Step 300

    300

    #DBB5C0

    oklch(81% 0.046 358.9)

  5. Step 400

    400

    #C78EA0

    oklch(70.7% 0.073 358.5)

  6. Step 500

    500

    #B87189

    oklch(63.2% 0.094 358.4)

  7. Step 600

    600

    #A35873

    oklch(55.6% 0.103 358.1)

  8. Step 700

    700

    #8B4860

    oklch(49.1% 0.095 358.4)

  9. Step 800

    800

    #713B4F

    oklch(42.6% 0.08 357.4)

  10. Step 900

    900

    #5C3341

    oklch(37.7% 0.062 358.6)

  11. Step 950

    950 (this color)

    #2E171F

    oklch(24% 0.039 358.2)

Export this scale for Tailwind in the Tailwind colors tool

#2E171F 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)#1A1B1F0.042
Deuteranopia (no green cones)#201F1E0.038
Tritanopia (no blue cones)#31161A0.011
Achromatopsia (no color)#1E1E1E0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E171F

    #2E171F

    oklch(24% 0.039 358.2)

  • #05251F

    #05251F

    oklch(23.9% 0.039 178)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E171F

    #2E171F

    oklch(24% 0.039 358.2)

  • #291828

    #291828

    oklch(23.9% 0.039 328.7)

  • #2F1815

    #2F1815

    oklch(24% 0.038 28.1)

Open the analogous palette in the generator

Split complementary

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

  • #2E171F

    #2E171F

    oklch(24% 0.039 358.2)

  • #112414

    #112414

    oklch(23.9% 0.039 148)

  • #022429

    #022429

    oklch(23.9% 0.039 209.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E171F

    #2E171F

    oklch(24% 0.039 358.2)

  • #1D220B

    #1D220B

    oklch(24% 0.04 119.6)

  • #0B2230

    #0B2230

    oklch(24.1% 0.039 238.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E171F

    #2E171F

    oklch(24% 0.039 358.2)

  • #271E07

    #271E07

    oklch(24% 0.039 87.8)

  • #05251F

    #05251F

    oklch(23.9% 0.039 178)

  • #171E32

    #171E32

    oklch(23.9% 0.04 268.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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