#2F171D

Closest named color: Jet (#212529). oklch(24.1% 0.04 4.4), rgb(47, 23, 29).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (24%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.26:1
White text16.65:1

Values

HEX#2F171D
RGBrgb(47, 23, 29)
HSLhsl(345, 34%, 14%)
OKLCHoklch(24.1% 0.04 4.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 #2F171D 16.65:1 AAA Lc -105.9 Preferred for body text
Black text on #2F171D 1.26:1 Fails Lc 0.0 Not readable
#2F171D text on white 16.65:1 AAA Lc 103.5 Preferred for body text
#2F171D text on black 1.26: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

    #F2E6E9

    oklch(93.5% 0.014 0.3)

  3. Step 200

    200

    #E9D2D7

    oklch(88.4% 0.026 2.8)

  4. Step 300

    300

    #DCB5BD

    oklch(81% 0.046 4.4)

  5. Step 400

    400

    #C98D9B

    oklch(70.6% 0.075 3.8)

  6. Step 500

    500

    #BA7082

    oklch(63.1% 0.096 4.5)

  7. Step 600

    600

    #A5576C

    oklch(55.5% 0.105 3.9)

  8. Step 700

    700

    #8D475A

    oklch(49% 0.097 4)

  9. Step 800

    800

    #733B49

    oklch(42.7% 0.08 5.1)

  10. Step 900

    900

    #5D333D

    oklch(37.7% 0.062 5.1)

  11. Step 950

    950 (this color)

    #2F171D

    oklch(24.1% 0.04 4.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F171D 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)#1B1B1D0.043
Deuteranopia (no green cones)#21201C0.041
Tritanopia (no blue cones)#3315190.011
Achromatopsia (no color)#1E1E1E0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F171D

    #2F171D

    oklch(24.1% 0.04 4.4)

  • #032522

    #032522

    oklch(24% 0.039 186.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F171D

    #2F171D

    oklch(24.1% 0.04 4.4)

  • #2B1827

    #2B1827

    oklch(24.1% 0.04 334.7)

  • #301812

    #301812

    oklch(24.1% 0.041 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F171D

    #2F171D

    oklch(24.1% 0.04 4.4)

  • #0E2517

    #0E2517

    oklch(24.1% 0.04 155.2)

  • #03242B

    #03242B

    oklch(24.1% 0.039 214.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F171D

    #2F171D

    oklch(24.1% 0.04 4.4)

  • #1B230D

    #1B230D

    oklch(24.2% 0.04 125.7)

  • #0D2131

    #0D2131

    oklch(24% 0.04 244.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F171D

    #2F171D

    oklch(24.1% 0.04 4.4)

  • #251F07

    #251F07

    oklch(24% 0.039 95.4)

  • #032522

    #032522

    oklch(24% 0.039 186.5)

  • #1A1E32

    #1A1E32

    oklch(24.1% 0.039 274.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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