#271B0E

Closest named color: Dark Brown (#341C02). oklch(23.3% 0.03 67.8), rgb(39, 27, 14).

Aa

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

About this color

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

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

Values

HEX#271B0E
RGBrgb(39, 27, 14)
HSLhsl(31, 47%, 10%)
OKLCHoklch(23.3% 0.03 67.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 #271B0E 16.80:1 AAA Lc -106.1 Preferred for body text
Black text on #271B0E 1.24:1 Fails Lc 0.0 Not readable
#271B0E text on white 16.80:1 AAA Lc 103.7 Preferred for body text
#271B0E 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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE9E3

    oklch(93.7% 0.01 67.7)

  3. Step 200

    200

    #E2D7CC

    oklch(88.5% 0.019 67.6)

  4. Step 300

    300

    #D0BDA9

    oklch(80.9% 0.035 68.7)

  5. Step 400

    400

    #B89B7B

    oklch(70.7% 0.056 69.5)

  6. Step 500

    500

    #A7815A

    oklch(63.1% 0.071 66.7)

  7. Step 600

    600

    #926A3F

    oklch(55.6% 0.078 67)

  8. Step 700

    700

    #7C5931

    oklch(49.2% 0.072 68.4)

  9. Step 800

    800

    #654929

    oklch(42.8% 0.06 68.7)

  10. Step 900

    900

    #523D26

    oklch(37.7% 0.046 68.2)

  11. Step 950

    950 (this color)

    #271B0E

    oklch(23.3% 0.03 67.8)

Export this scale for Tailwind in the Tailwind colors tool

#271B0E 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)#1F1C0D0.017
Deuteranopia (no green cones)#221E0E0.014
Tritanopia (no blue cones)#2B18180.025
Achromatopsia (no color)#1D1D1D0.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #271B0E

    #271B0E

    oklch(23.3% 0.03 67.8)

  • #121F2B

    #121F2B

    oklch(23.3% 0.03 247.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271B0E

    #271B0E

    oklch(23.3% 0.03 67.8)

  • #2A1913

    #2A1913

    oklch(23.4% 0.03 40.2)

  • #211E0D

    #211E0D

    oklch(23.3% 0.03 99.5)

Open the analogous palette in the generator

Split complementary

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

  • #271B0E

    #271B0E

    oklch(23.3% 0.03 67.8)

  • #0B2127

    #0B2127

    oklch(23.3% 0.03 218.1)

  • #1A1C2C

    #1A1C2C

    oklch(23.2% 0.031 278.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271B0E

    #271B0E

    oklch(23.3% 0.03 67.8)

  • #0B2220

    #0B2220

    oklch(23.3% 0.029 187.8)

  • #211A29

    #211A29

    oklch(23.3% 0.03 305.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271B0E

    #271B0E

    oklch(23.3% 0.03 67.8)

  • #112218

    #112218

    oklch(23.3% 0.03 157.3)

  • #121F2B

    #121F2B

    oklch(23.3% 0.03 247.2)

  • #271823

    #271823

    oklch(23.3% 0.031 336.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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