#2E171C

Closest named color: Jet (#212529). oklch(23.9% 0.038 6.3), rgb(46, 23, 28).

Aa

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

About this color

#2E171C is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.038 and its hue 6°. 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.72:1.

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

Values

HEX#2E171C
RGBrgb(46, 23, 28)
HSLhsl(347, 33%, 14%)
OKLCHoklch(23.9% 0.038 6.3)

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 #2E171C 16.72:1 AAA Lc -106.0 Preferred for body text
Black text on #2E171C 1.25:1 Fails Lc 0.0 Not readable
#2E171C text on white 16.72:1 AAA Lc 103.6 Preferred for body text
#2E171C 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

    #F2E6E8

    oklch(93.5% 0.013 5.8)

  3. Step 200

    200

    #E9D3D6

    oklch(88.6% 0.025 8.2)

  4. Step 300

    300

    #DBB5BC

    oklch(80.8% 0.045 5.7)

  5. Step 400

    400

    #C88E99

    oklch(70.7% 0.072 6.5)

  6. Step 500

    500

    #B97281

    oklch(63.2% 0.091 6.3)

  7. Step 600

    600

    #A4596A

    oklch(55.6% 0.1 6.3)

  8. Step 700

    700

    #8C4958

    oklch(49.1% 0.092 6.8)

  9. Step 800

    800

    #723C48

    oklch(42.7% 0.077 6.6)

  10. Step 900

    900

    #5C343C

    oklch(37.7% 0.058 7.3)

  11. Step 950

    950 (this color)

    #2E171C

    oklch(23.9% 0.038 6.3)

Export this scale for Tailwind in the Tailwind colors tool

#2E171C 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)#1B1B1C0.041
Deuteranopia (no green cones)#201F1C0.038
Tritanopia (no blue cones)#3215190.010
Achromatopsia (no color)#1E1E1E0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E171C

    #2E171C

    oklch(23.9% 0.038 6.3)

  • #042522

    #042522

    oklch(24% 0.038 186.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E171C

    #2E171C

    oklch(23.9% 0.038 6.3)

  • #2A1826

    #2A1826

    oklch(23.9% 0.037 335.1)

  • #2E1812

    #2E1812

    oklch(23.8% 0.038 36.1)

Open the analogous palette in the generator

Split complementary

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

  • #2E171C

    #2E171C

    oklch(23.9% 0.038 6.3)

  • #0E2417

    #0E2417

    oklch(23.8% 0.038 156.1)

  • #05232A

    #05232A

    oklch(23.8% 0.037 216.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E171C

    #2E171C

    oklch(23.9% 0.038 6.3)

  • #1A220E

    #1A220E

    oklch(23.8% 0.037 126.9)

  • #0F2130

    #0F2130

    oklch(24% 0.038 245.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E171C

    #2E171C

    oklch(23.9% 0.038 6.3)

  • #241F08

    #241F08

    oklch(23.9% 0.038 97.2)

  • #042522

    #042522

    oklch(24% 0.038 186.3)

  • #1A1D31

    #1A1D31

    oklch(23.8% 0.039 276.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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