#271C13

Closest named color: Dark Brown (#341C02). oklch(23.7% 0.024 60.6), rgb(39, 28, 19).

Aa

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

About this color

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

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

Values

HEX#271C13
RGBrgb(39, 28, 19)
HSLhsl(27, 34%, 11%)
OKLCHoklch(23.7% 0.024 60.6)

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

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E1D7CF

    oklch(88.5% 0.016 61.3)

  4. Step 300

    300

    #CFBDAF

    oklch(81% 0.028 60.3)

  5. Step 400

    400

    #B69B85

    oklch(70.8% 0.045 61.2)

  6. Step 500

    500

    #A48266

    oklch(63.2% 0.058 61)

  7. Step 600

    600

    #8F6B4D

    oklch(55.7% 0.063 60.8)

  8. Step 700

    700

    #79593E

    oklch(49.1% 0.058 61)

  9. Step 800

    800

    #634934

    oklch(42.8% 0.048 59.9)

  10. Step 900

    900

    #513D2D

    oklch(37.7% 0.038 59.9)

  11. Step 950

    950 (this color)

    #271C13

    oklch(23.7% 0.024 60.6)

Export this scale for Tailwind in the Tailwind colors tool

#271C13 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)#1F1D120.017
Deuteranopia (no green cones)#221F130.014
Tritanopia (no blue cones)#2A1A1A0.018
Achromatopsia (no color)#1E1E1E0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #271C13

    #271C13

    oklch(23.7% 0.024 60.6)

  • #142029

    #142029

    oklch(23.7% 0.024 241.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271C13

    #271C13

    oklch(23.7% 0.024 60.6)

  • #291A18

    #291A18

    oklch(23.6% 0.024 27.5)

  • #231E11

    #231E11

    oklch(23.7% 0.024 89.3)

Open the analogous palette in the generator

Split complementary

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

  • #271C13

    #271C13

    oklch(23.7% 0.024 60.6)

  • #102225

    #102225

    oklch(23.8% 0.024 209.2)

  • #1A1E2A

    #1A1E2A

    oklch(23.7% 0.024 270.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271C13

    #271C13

    oklch(23.7% 0.024 60.6)

  • #11221F

    #11221F

    oklch(23.6% 0.024 181.7)

  • #201C28

    #201C28

    oklch(23.7% 0.023 299.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271C13

    #271C13

    oklch(23.7% 0.024 60.6)

  • #162219

    #162219

    oklch(23.7% 0.024 152)

  • #142029

    #142029

    oklch(23.7% 0.024 241.4)

  • #251B24

    #251B24

    oklch(23.8% 0.023 329.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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