#2D171B

Closest named color: Dark Brown (#341C02). oklch(23.7% 0.036 8.4), rgb(45, 23, 27).

Aa

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

About this color

#2D171B is a very dark, muted red. In OKLCH its lightness is 24%, its chroma 0.036 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.048 away. White text reads best on it, at 16.80:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamuted (0.036)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.24:1
White text16.80:1

Values

HEX#2D171B
RGBrgb(45, 23, 27)
HSLhsl(349, 32%, 13%)
OKLCHoklch(23.7% 0.036 8.4)

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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F2E7E8

    oklch(93.7% 0.012 11)

  3. Step 200

    200

    #E8D3D6

    oklch(88.5% 0.024 7.8)

  4. Step 300

    300

    #DAB6BB

    oklch(80.9% 0.042 8.6)

  5. Step 400

    400

    #C78F98

    oklch(70.7% 0.069 8.3)

  6. Step 500

    500

    #B7737F

    oklch(63.1% 0.087 8.4)

  7. Step 600

    600

    #A25B68

    oklch(55.7% 0.094 8.8)

  8. Step 700

    700

    #8B4A57

    oklch(49.1% 0.089 8.1)

  9. Step 800

    800

    #713D47

    oklch(42.7% 0.074 8.3)

  10. Step 900

    900

    #5B343B

    oklch(37.5% 0.057 8.6)

  11. Step 950

    950 (this color)

    #2D171B

    oklch(23.7% 0.036 8.4)

Export this scale for Tailwind in the Tailwind colors tool

#2D171B 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.039
Deuteranopia (no green cones)#201F1B0.036
Tritanopia (no blue cones)#3115180.010
Achromatopsia (no color)#1D1D1D0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D171B

    #2D171B

    oklch(23.7% 0.036 8.4)

  • #052422

    #052422

    oklch(23.7% 0.036 188.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D171B

    #2D171B

    oklch(23.7% 0.036 8.4)

  • #2A1824

    #2A1824

    oklch(23.8% 0.035 340)

  • #2D1812

    #2D1812

    oklch(23.6% 0.036 36.7)

Open the analogous palette in the generator

Split complementary

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

  • #2D171B

    #2D171B

    oklch(23.7% 0.036 8.4)

  • #0E2418

    #0E2418

    oklch(23.8% 0.037 158.1)

  • #06222A

    #06222A

    oklch(23.5% 0.036 220.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D171B

    #2D171B

    oklch(23.7% 0.036 8.4)

  • #19220F

    #19220F

    oklch(23.7% 0.036 129.5)

  • #10202F

    #10202F

    oklch(23.7% 0.036 248.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D171B

    #2D171B

    oklch(23.7% 0.036 8.4)

  • #231F09

    #231F09

    oklch(23.8% 0.037 99.2)

  • #052422

    #052422

    oklch(23.7% 0.036 188.9)

  • #1B1D2F

    #1B1D2F

    oklch(23.8% 0.035 278.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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