#271017

Closest named color: Dark Maroon (#3C0008). oklch(21% 0.04 1.7), rgb(39, 16, 23).

Aa

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

About this color

#271017 is a very dark, muted red. In OKLCH its lightness is 21%, its chroma 0.040 and its hue 2°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.056 away. White text reads best on it, at 17.90:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.17:1
White text17.90:1

Values

HEX#271017
RGBrgb(39, 16, 23)
HSLhsl(342, 42%, 11%)
OKLCHoklch(21% 0.04 1.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 #271017 17.90:1 AAA Lc -106.7 Preferred for body text
Black text on #271017 1.17:1 Fails Lc 0.0 Not readable
#271017 text on white 17.90:1 AAA Lc 104.5 Preferred for body text
#271017 text on black 1.17: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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F2E6E9

    oklch(93.5% 0.014 0.3)

  3. Step 200

    200

    #E9D2D8

    oklch(88.4% 0.027 0)

  4. Step 300

    300

    #DCB5BE

    oklch(81% 0.046 2.7)

  5. Step 400

    400

    #C98D9D

    oklch(70.7% 0.076 1.7)

  6. Step 500

    500

    #B97085

    oklch(63% 0.096 1.6)

  7. Step 600

    600

    #A5576F

    oklch(55.6% 0.106 1.5)

  8. Step 700

    700

    #8D475D

    oklch(49.1% 0.098 1.3)

  9. Step 800

    800

    #723B4C

    oklch(42.7% 0.08 1.3)

  10. Step 900

    900

    #5D333F

    oklch(37.8% 0.062 2.1)

  11. Step 950

    950 (this color)

    #271017

    oklch(21% 0.04 1.7)

Export this scale for Tailwind in the Tailwind colors tool

#271017 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)#1415170.043
Deuteranopia (no green cones)#1919160.042
Tritanopia (no blue cones)#2A0E130.010
Achromatopsia (no color)#1717170.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #271017

    #271017

    oklch(21% 0.04 1.7)

  • #001E1A

    #001E1A

    oklch(21.1% 0.038 182.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271017

    #271017

    oklch(21% 0.04 1.7)

  • #231121

    #231121

    oklch(21.1% 0.041 331)

  • #28110D

    #28110D

    oklch(21.1% 0.039 31)

Open the analogous palette in the generator

Split complementary

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

  • #271017

    #271017

    oklch(21% 0.04 1.7)

  • #081D0F

    #081D0F

    oklch(20.8% 0.039 152.6)

  • #001D22

    #001D22

    oklch(21.2% 0.037 210.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271017

    #271017

    oklch(21% 0.04 1.7)

  • #151B05

    #151B05

    oklch(21% 0.04 122.3)

  • #051A29

    #051A29

    oklch(20.9% 0.04 242.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271017

    #271017

    oklch(21% 0.04 1.7)

  • #1F1802

    #1F1802

    oklch(21.2% 0.04 92.8)

  • #001E1A

    #001E1A

    oklch(21.1% 0.038 182.7)

  • #12172B

    #12172B

    oklch(21.1% 0.04 271.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271017 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.