#271A03

Closest named color: Dark Brown (#341C02). oklch(22.9% 0.042 79.7), rgb(39, 26, 3).

Aa

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

About this color

#271A03 is a very dark, muted brown. In OKLCH its lightness is 23%, its chroma 0.042 and its hue 80°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.030 away. White text reads best on it, at 16.99:1.

Hue familyBrowns
Lightnessvery dark (23%)
Chromamuted (0.042)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.23:1
White text16.99:1

Values

HEX#271A03
RGBrgb(39, 26, 3)
HSLhsl(38, 86%, 8%)
OKLCHoklch(22.9% 0.042 79.7)

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 #271A03 16.99:1 AAA Lc -106.2 Preferred for body text
Black text on #271A03 1.23:1 Fails Lc 0.0 Not readable
#271A03 text on white 16.99:1 AAA Lc 103.8 Preferred for body text
#271A03 text on black 1.23: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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #EFE9DF

    oklch(93.6% 0.015 80.7)

  3. Step 200

    200

    #E3D8C5

    oklch(88.6% 0.028 81.5)

  4. Step 300

    300

    #D2BE9D

    oklch(81% 0.05 80.2)

  5. Step 400

    400

    #BB9B66

    oklch(70.6% 0.08 79.5)

  6. Step 500

    500

    #AA8239

    oklch(63.1% 0.103 80)

  7. Step 600

    600

    #956A0C

    oklch(55.4% 0.111 79.6)

  8. Step 700

    700

    #7F5900

    oklch(49.2% 0.102 79.8)

  9. Step 800

    800

    #684905

    oklch(42.8% 0.086 79.8)

  10. Step 900

    900

    #543D11

    oklch(37.7% 0.067 80)

  11. Step 950

    950 (this color)

    #271A03

    oklch(22.9% 0.042 79.7)

Export this scale for Tailwind in the Tailwind colors tool

#271A03 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)#1F1A010.018
Deuteranopia (no green cones)#221E040.016
Tritanopia (no blue cones)#2B16150.037
Achromatopsia (no color)#1C1C1C0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #271A03

    #271A03

    oklch(22.9% 0.042 79.7)

  • #101D30

    #101D30

    oklch(22.9% 0.041 257.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271A03

    #271A03

    oklch(22.9% 0.042 79.7)

  • #2C1609

    #2C1609

    oklch(22.8% 0.042 50)

  • #1E1E04

    #1E1E04

    oklch(22.8% 0.043 109.4)

Open the analogous palette in the generator

Split complementary

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

  • #271A03

    #271A03

    oklch(22.9% 0.042 79.7)

  • #02202D

    #02202D

    oklch(22.9% 0.043 230.5)

  • #1C192F

    #1C192F

    oklch(22.9% 0.042 288.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271A03

    #271A03

    oklch(22.9% 0.042 79.7)

  • #002224

    #002224

    oklch(22.9% 0.039 200.5)

  • #251629

    #251629

    oklch(22.9% 0.042 319)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271A03

    #271A03

    oklch(22.9% 0.042 79.7)

  • #022319

    #022319

    oklch(22.9% 0.043 168.9)

  • #101D30

    #101D30

    oklch(22.9% 0.041 257.8)

  • #2B141F

    #2B141F

    oklch(22.9% 0.041 350.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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