#270817

Closest named color: Dark Maroon (#3C0008). oklch(19.6% 0.056 353.4), rgb(39, 8, 23).

Aa

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

About this color

#270817 is a very dark, muted red. In OKLCH its lightness is 20%, its chroma 0.056 and its hue 353°. 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 18.52:1.

Hue familyReds
Lightnessvery dark (20%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.13:1
White text18.52:1

Values

HEX#270817
RGBrgb(39, 8, 23)
HSLhsl(331, 66%, 9%)
OKLCHoklch(19.6% 0.056 353.4)

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 #270817 18.52:1 AAA Lc -107.0 Preferred for body text
Black text on #270817 1.13:1 Fails Lc 0.0 Not readable
#270817 text on white 18.52:1 AAA Lc 104.8 Preferred for body text
#270817 text on black 1.13: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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F5E5EB

    oklch(93.6% 0.019 352.7)

  3. Step 200

    200

    #EED0DB

    oklch(88.6% 0.036 353.7)

  4. Step 300

    300

    #E4AFC4

    oklch(80.8% 0.067 353.1)

  5. Step 400

    400

    #D484A6

    oklch(70.7% 0.106 353.1)

  6. Step 500

    500

    #C66390

    oklch(63% 0.136 353.1)

  7. Step 600

    600

    #B2487A

    oklch(55.7% 0.148 353.6)

  8. Step 700

    700

    #983967

    oklch(49.1% 0.136 353.2)

  9. Step 800

    800

    #7C3054

    oklch(42.8% 0.113 353.4)

  10. Step 900

    900

    #642B45

    oklch(37.7% 0.088 353.6)

  11. Step 950

    950 (this color)

    #270817

    oklch(19.6% 0.056 353.4)

Export this scale for Tailwind in the Tailwind colors tool

#270817 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)#0D10170.061
Deuteranopia (no green cones)#1515160.055
Tritanopia (no blue cones)#2B060E0.019
Achromatopsia (no color)#1313130.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #270817

    #270817

    oklch(19.6% 0.056 353.4)

  • #001A13

    #001A13

    oklch(19.4% 0.037 172.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270817

    #270817

    oklch(19.6% 0.056 353.4)

  • #210B23

    #210B23

    oklch(19.7% 0.055 324.2)

  • #290808

    #290808

    oklch(19.4% 0.055 23.8)

Open the analogous palette in the generator

Split complementary

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

  • #270817

    #270817

    oklch(19.6% 0.056 353.4)

  • #031B03

    #031B03

    oklch(19.5% 0.057 143)

  • #00191C

    #00191C

    oklch(19.5% 0.033 205.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270817

    #270817

    oklch(19.6% 0.056 353.4)

  • #151700

    #151700

    oklch(19.6% 0.044 113.9)

  • #001824

    #001824

    oklch(19.6% 0.04 231.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270817

    #270817

    oklch(19.6% 0.056 353.4)

  • #1E1300

    #1E1300

    oklch(19.6% 0.04 82.5)

  • #001A13

    #001A13

    oklch(19.4% 0.037 172.8)

  • #07132E

    #07132E

    oklch(19.4% 0.057 263.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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