#271A17

Closest named color: Jet (#212529). oklch(23.3% 0.022 33.4), rgb(39, 26, 23).

Aa

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

About this color

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

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

Values

HEX#271A17
RGBrgb(39, 26, 23)
HSLhsl(11, 26%, 12%)
OKLCHoklch(23.3% 0.022 33.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 #271A17 16.84:1 AAA Lc -106.1 Preferred for body text
Black text on #271A17 1.24:1 Fails Lc 0.0 Not readable
#271A17 text on white 16.84:1 AAA Lc 103.7 Preferred for body text
#271A17 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

    #F8F5F4

    oklch(97.2% 0.003 39.5)

  2. Step 100

    100

    #EFE8E7

    oklch(93.6% 0.008 27.2)

  3. Step 200

    200

    #E2D6D3

    oklch(88.5% 0.014 34.3)

  4. Step 300

    300

    #D1BBB6

    oklch(80.9% 0.026 32.9)

  5. Step 400

    400

    #B99890

    oklch(70.7% 0.041 33.9)

  6. Step 500

    500

    #A77E75

    oklch(63.1% 0.053 32.6)

  7. Step 600

    600

    #92675E

    oklch(55.6% 0.058 32.2)

  8. Step 700

    700

    #7C564D

    oklch(49.1% 0.053 33.8)

  9. Step 800

    800

    #65463F

    oklch(42.6% 0.045 33.1)

  10. Step 900

    900

    #523B36

    oklch(37.7% 0.034 32.5)

  11. Step 950

    950 (this color)

    #271A17

    oklch(23.3% 0.022 33.4)

Export this scale for Tailwind in the Tailwind colors tool

#271A17 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)#1D1C170.021
Deuteranopia (no green cones)#201E170.019
Tritanopia (no blue cones)#2A18190.011
Achromatopsia (no color)#1D1D1D0.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #271A17

    #271A17

    oklch(23.3% 0.022 33.4)

  • #112024

    #112024

    oklch(23.2% 0.022 216.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271A17

    #271A17

    oklch(23.3% 0.022 33.4)

  • #27191D

    #27191D

    oklch(23.3% 0.023 0.3)

  • #251C13

    #251C13

    oklch(23.4% 0.022 66.4)

Open the analogous palette in the generator

Split complementary

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

  • #271A17

    #271A17

    oklch(23.3% 0.022 33.4)

  • #12211F

    #12211F

    oklch(23.3% 0.021 185.3)

  • #151F27

    #151F27

    oklch(23.3% 0.021 242.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271A17

    #271A17

    oklch(23.3% 0.022 33.4)

  • #162119

    #162119

    oklch(23.4% 0.022 153)

  • #1A1D28

    #1A1D28

    oklch(23.3% 0.022 272.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271A17

    #271A17

    oklch(23.3% 0.022 33.4)

  • #1C1F14

    #1C1F14

    oklch(23.2% 0.021 120.4)

  • #112024

    #112024

    oklch(23.2% 0.022 216.5)

  • #201B26

    #201B26

    oklch(23.3% 0.022 305.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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