#1D271F

Closest named color: Jet (#212529). oklch(26% 0.02 150.8), rgb(29, 39, 31).

Aa

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

About this color

#1D271F is a dark close to neutral grey. In OKLCH its lightness is 26%, its chroma 0.020. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.024 away. White text reads best on it, at 15.41:1.

Hue familyNeutrals
Lightnessdark (26%)
Chromaclose to neutral grey (0.020)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.36:1
White text15.41:1

Values

HEX#1D271F
RGBrgb(29, 39, 31)
HSLhsl(132, 15%, 13%)
OKLCHoklch(26% 0.02 150.8)

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 #1D271F 15.41:1 AAA Lc -105.0 Preferred for body text
Black text on #1D271F 1.36:1 Fails Lc 0.0 Not readable
#1D271F text on white 15.41:1 AAA Lc 102.3 Preferred for body text
#1D271F text on black 1.36: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

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E7EBE7

    oklch(93.6% 0.007 145.5)

  3. Step 200

    200

    #D3DCD5

    oklch(88.6% 0.014 152.6)

  4. Step 300

    300

    #B6C5B9

    oklch(80.8% 0.023 151.6)

  5. Step 400

    400

    #90A894

    oklch(70.7% 0.039 150)

  6. Step 500

    500

    #74927A

    oklch(63% 0.049 150.8)

  7. Step 600

    600

    #5C7D63

    oklch(55.7% 0.055 150.8)

  8. Step 700

    700

    #4C6952

    oklch(49.1% 0.05 150.6)

  9. Step 800

    800

    #3E5643

    oklch(42.8% 0.043 150.6)

  10. Step 900

    900

    #354739

    oklch(37.8% 0.033 151.3)

  11. Step 950

    950 (this color)

    #1D271F

    oklch(26% 0.02 150.8)

Export this scale for Tailwind in the Tailwind colors tool

#1D271F 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)#27251F0.018
Deuteranopia (no green cones)#25241F0.017
Tritanopia (no blue cones)#1C27250.011
Achromatopsia (no color)#2525250.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D271F

    #1D271F

    oklch(26% 0.02 150.8)

  • #2A2129

    #2A2129

    oklch(26.1% 0.02 329.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D271F

    #1D271F

    oklch(26% 0.02 150.8)

  • #23261B

    #23261B

    oklch(26.2% 0.02 120.2)

  • #192725

    #192725

    oklch(25.9% 0.02 185.1)

Open the analogous palette in the generator

Split complementary

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

  • #1D271F

    #1D271F

    oklch(26% 0.02 150.8)

  • #26222D

    #26222D

    oklch(26.1% 0.021 301.6)

  • #2D2023

    #2D2023

    oklch(26% 0.021 3.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D271F

    #1D271F

    oklch(26% 0.02 150.8)

  • #20242E

    #20242E

    oklch(26.1% 0.02 267.9)

  • #2D211E

    #2D211E

    oklch(26.1% 0.019 34.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D271F

    #1D271F

    oklch(26% 0.02 150.8)

  • #1B262D

    #1B262D

    oklch(26.1% 0.02 236.5)

  • #2A2129

    #2A2129

    oklch(26.1% 0.02 329.8)

  • #2C221A

    #2C221A

    oklch(26.1% 0.021 60.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1D271F 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.