#27271A

Closest named color: Jet (#212529). oklch(26.9% 0.023 107.8), rgb(39, 39, 26).

Aa

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

About this color

#27271A is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.023. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.031 away. White text reads best on it, at 15.09:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.023)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.39:1
White text15.09:1

Values

HEX#27271A
RGBrgb(39, 39, 26)
HSLhsl(60, 20%, 13%)
OKLCHoklch(26.9% 0.023 107.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 #27271A 15.09:1 AAA Lc -104.7 Preferred for body text
Black text on #27271A 1.39:1 Fails Lc 0.0 Not readable
#27271A text on white 15.09:1 AAA Lc 102.0 Preferred for body text
#27271A text on black 1.39: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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACF

    oklch(88.5% 0.015 106.7)

  4. Step 300

    300

    #C2C2AF

    oklch(80.9% 0.026 107)

  5. Step 400

    400

    #A3A384

    oklch(70.7% 0.043 107.5)

  6. Step 500

    500

    #8C8C65

    oklch(63% 0.055 107.9)

  7. Step 600

    600

    #76764C

    oklch(55.5% 0.06 108.2)

  8. Step 700

    700

    #64633D

    oklch(49.1% 0.056 107)

  9. Step 800

    800

    #515133

    oklch(42.7% 0.046 108.2)

  10. Step 900

    900

    #43432D

    oklch(37.6% 0.035 108)

  11. Step 950

    950 (this color)

    #27271A

    oklch(26.9% 0.023 107.8)

Export this scale for Tailwind in the Tailwind colors tool

#27271A 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)#2926190.005
Deuteranopia (no green cones)#29261A0.005
Tritanopia (no blue cones)#2925240.022
Achromatopsia (no color)#2626260.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #27271A

    #27271A

    oklch(26.9% 0.023 107.8)

  • #252431

    #252431

    oklch(26.7% 0.024 288.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27271A

    #27271A

    oklch(26.9% 0.023 107.8)

  • #2C2519

    #2C2519

    oklch(26.9% 0.023 80.8)

  • #21291E

    #21291E

    oklch(26.9% 0.023 137.2)

Open the analogous palette in the generator

Split complementary

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

  • #27271A

    #27271A

    oklch(26.9% 0.023 107.8)

  • #1F2731

    #1F2731

    oklch(27% 0.022 254.2)

  • #2B232D

    #2B232D

    oklch(26.9% 0.022 319.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27271A

    #27271A

    oklch(26.9% 0.023 107.8)

  • #1A282F

    #1A282F

    oklch(26.7% 0.023 230.3)

  • #2F2228

    #2F2228

    oklch(27% 0.022 349.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27271A

    #27271A

    oklch(26.9% 0.023 107.8)

  • #182A2A

    #182A2A

    oklch(26.9% 0.024 195.8)

  • #252431

    #252431

    oklch(26.7% 0.024 288.2)

  • #302222

    #302222

    oklch(26.9% 0.022 18.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27271A 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.