#271C16

Closest named color: Dark Brown (#341C02). oklch(23.8% 0.021 50), rgb(39, 28, 22).

Aa

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

About this color

#271C16 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.038 away. White text reads best on it, at 16.61:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.26:1
White text16.61:1

Values

HEX#271C16
RGBrgb(39, 28, 22)
HSLhsl(21, 28%, 12%)
OKLCHoklch(23.8% 0.021 50)

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 #271C16 16.61:1 AAA Lc -106.0 Preferred for body text
Black text on #271C16 1.26:1 Fails Lc 0.0 Not readable
#271C16 text on white 16.61:1 AAA Lc 103.5 Preferred for body text
#271C16 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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E6

    oklch(93.7% 0.007 53.4)

  3. Step 200

    200

    #E1D7D1

    oklch(88.5% 0.014 53.3)

  4. Step 300

    300

    #CEBCB3

    oklch(80.8% 0.024 48.4)

  5. Step 400

    400

    #B69A8B

    oklch(70.7% 0.04 49.9)

  6. Step 500

    500

    #A3816F

    oklch(63.1% 0.05 49.3)

  7. Step 600

    600

    #8E6A57

    oklch(55.6% 0.054 49)

  8. Step 700

    700

    #795847

    oklch(49.1% 0.051 48.4)

  9. Step 800

    800

    #62483A

    oklch(42.6% 0.042 49.5)

  10. Step 900

    900

    #503D32

    oklch(37.7% 0.032 51.5)

  11. Step 950

    950 (this color)

    #271C16

    oklch(23.8% 0.021 50)

Export this scale for Tailwind in the Tailwind colors tool

#271C16 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)#1F1D160.016
Deuteranopia (no green cones)#221F160.014
Tritanopia (no blue cones)#2A1A1A0.013
Achromatopsia (no color)#1E1E1E0.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #271C16

    #271C16

    oklch(23.8% 0.021 50)

  • #142127

    #142127

    oklch(23.9% 0.021 228.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271C16

    #271C16

    oklch(23.8% 0.021 50)

  • #281B1B

    #281B1B

    oklch(23.8% 0.021 18.7)

  • #241E14

    #241E14

    oklch(23.9% 0.02 80.2)

Open the analogous palette in the generator

Split complementary

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

  • #271C16

    #271C16

    oklch(23.8% 0.021 50)

  • #132223

    #132223

    oklch(23.9% 0.021 201.2)

  • #191F29

    #191F29

    oklch(23.8% 0.021 260.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271C16

    #271C16

    oklch(23.8% 0.021 50)

  • #15221D

    #15221D

    oklch(23.8% 0.021 168.7)

  • #1E1D28

    #1E1D28

    oklch(23.7% 0.021 288.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271C16

    #271C16

    oklch(23.8% 0.021 50)

  • #1A2118

    #1A2118

    oklch(23.8% 0.02 138.8)

  • #142127

    #142127

    oklch(23.9% 0.021 228.4)

  • #231C25

    #231C25

    oklch(23.9% 0.02 318.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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