#2C171E

Closest named color: Jet (#212529). oklch(23.6% 0.036 358.7), rgb(44, 23, 30).

Aa

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

About this color

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

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

Values

HEX#2C171E
RGBrgb(44, 23, 30)
HSLhsl(340, 31%, 13%)
OKLCHoklch(23.6% 0.036 358.7)

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 #2C171E 16.82:1 AAA Lc -106.1 Preferred for body text
Black text on #2C171E 1.24:1 Fails Lc 0.0 Not readable
#2C171E text on white 16.82:1 AAA Lc 103.7 Preferred for body text
#2C171E 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

    #F1E7EA

    oklch(93.7% 0.012 357)

  3. Step 200

    200

    #E7D3D9

    oklch(88.5% 0.024 357.4)

  4. Step 300

    300

    #D9B6C0

    oklch(81% 0.042 359)

  5. Step 400

    400

    #C48FA0

    oklch(70.6% 0.068 358)

  6. Step 500

    500

    #B47388

    oklch(63% 0.086 359)

  7. Step 600

    600

    #9F5B72

    oklch(55.6% 0.093 358.9)

  8. Step 700

    700

    #884A60

    oklch(49% 0.088 358.2)

  9. Step 800

    800

    #6F3D4E

    oklch(42.7% 0.073 358.9)

  10. Step 900

    900

    #5A3541

    oklch(37.8% 0.056 359.2)

  11. Step 950

    950 (this color)

    #2C171E

    oklch(23.6% 0.036 358.7)

Export this scale for Tailwind in the Tailwind colors tool

#2C171E 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)#1A1B1E0.038
Deuteranopia (no green cones)#1F1F1E0.036
Tritanopia (no blue cones)#2F16190.011
Achromatopsia (no color)#1D1D1D0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C171E

    #2C171E

    oklch(23.6% 0.036 358.7)

  • #07241F

    #07241F

    oklch(23.7% 0.036 179.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C171E

    #2C171E

    oklch(23.6% 0.036 358.7)

  • #281827

    #281827

    oklch(23.7% 0.037 328.8)

  • #2D1815

    #2D1815

    oklch(23.7% 0.035 28.7)

Open the analogous palette in the generator

Split complementary

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

  • #2C171E

    #2C171E

    oklch(23.6% 0.036 358.7)

  • #122315

    #122315

    oklch(23.6% 0.035 148.8)

  • #052327

    #052327

    oklch(23.6% 0.036 207.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C171E

    #2C171E

    oklch(23.6% 0.036 358.7)

  • #1D210C

    #1D210C

    oklch(23.7% 0.037 118.2)

  • #0D212D

    #0D212D

    oklch(23.7% 0.035 237.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C171E

    #2C171E

    oklch(23.6% 0.036 358.7)

  • #251D09

    #251D09

    oklch(23.5% 0.035 87.7)

  • #07241F

    #07241F

    oklch(23.7% 0.036 179.7)

  • #171E2F

    #171E2F

    oklch(23.7% 0.035 266.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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