#271D1D

Closest named color: Jet (#212529). oklch(24.3% 0.016 18.3), rgb(39, 29, 29).

Aa

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

About this color

#271D1D is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.030 away. White text reads best on it, at 16.40:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.016)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.27:1
White text16.40:1

Values

HEX#271D1D
RGBrgb(39, 29, 29)
HSLhsl(0, 15%, 13%)
OKLCHoklch(24.3% 0.016 18.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 #271D1D 16.40:1 AAA Lc -105.8 Preferred for body text
Black text on #271D1D 1.27:1 Fails Lc 0.0 Not readable
#271D1D text on white 16.40:1 AAA Lc 103.4 Preferred for body text
#271D1D text on black 1.27: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

    #F7F5F5

    oklch(97.2% 0.002 17.2)

  2. Step 100

    100

    #EDE8E8

    oklch(93.5% 0.005 17.3)

  3. Step 200

    200

    #E0D6D6

    oklch(88.4% 0.011 17.4)

  4. Step 300

    300

    #CCBCBC

    oklch(80.9% 0.018 17.5)

  5. Step 400

    400

    #B39A99

    oklch(70.8% 0.03 20.6)

  6. Step 500

    500

    #9F8181

    oklch(63.1% 0.037 18.2)

  7. Step 600

    600

    #8A6A6A

    oklch(55.6% 0.041 18.5)

  8. Step 700

    700

    #755858

    oklch(49% 0.038 18.6)

  9. Step 800

    800

    #5F4848

    oklch(42.6% 0.032 18.5)

  10. Step 900

    900

    #4E3C3C

    oklch(37.6% 0.025 18.3)

  11. Step 950

    950 (this color)

    #271D1D

    oklch(24.3% 0.016 18.3)

Export this scale for Tailwind in the Tailwind colors tool

#271D1D 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)#1F1E1D0.016
Deuteranopia (no green cones)#21201D0.015
Tritanopia (no blue cones)#291C1D0.005
Achromatopsia (no color)#1F1F1F0.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #271D1D

    #271D1D

    oklch(24.3% 0.016 18.3)

  • #172223

    #172223

    oklch(24.2% 0.016 203.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271D1D

    #271D1D

    oklch(24.3% 0.016 18.3)

  • #261D21

    #261D21

    oklch(24.3% 0.016 349.8)

  • #261E19

    #261E19

    oklch(24.3% 0.016 53.8)

Open the analogous palette in the generator

Split complementary

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

  • #271D1D

    #271D1D

    oklch(24.3% 0.016 18.3)

  • #19221E

    #19221E

    oklch(24.2% 0.015 166.3)

  • #182126

    #182126

    oklch(24.1% 0.016 232.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271D1D

    #271D1D

    oklch(24.3% 0.016 18.3)

  • #1C221B

    #1C221B

    oklch(24.3% 0.016 141.1)

  • #1B2028

    #1B2028

    oklch(24.2% 0.017 259.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271D1D

    #271D1D

    oklch(24.3% 0.016 18.3)

  • #202118

    #202118

    oklch(24.4% 0.016 112.8)

  • #172223

    #172223

    oklch(24.2% 0.016 203.2)

  • #1F1F27

    #1F1F27

    oklch(24.3% 0.015 285.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271D1D 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.