#27151F

Closest named color: Rich Black (#0D1B2A). oklch(22.4% 0.034 345.7), rgb(39, 21, 31).

Aa

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

About this color

#27151F is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.034 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.051 away. White text reads best on it, at 17.30:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.034)
Temperaturewarm
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.30:1

Values

HEX#27151F
RGBrgb(39, 21, 31)
HSLhsl(327, 30%, 12%)
OKLCHoklch(22.4% 0.034 345.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 #27151F 17.30:1 AAA Lc -106.4 Preferred for body text
Black text on #27151F 1.21:1 Fails Lc 0.0 Not readable
#27151F text on white 17.30:1 AAA Lc 104.1 Preferred for body text
#27151F text on black 1.21: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

    #F8F4F6

    oklch(97.1% 0.005 345.3)

  2. Step 100

    100

    #F0E7EB

    oklch(93.6% 0.011 348.4)

  3. Step 200

    200

    #E5D4DC

    oklch(88.6% 0.022 347.3)

  4. Step 300

    300

    #D5B7C6

    oklch(81% 0.04 346.4)

  5. Step 400

    400

    #BF91A9

    oklch(70.7% 0.064 346.2)

  6. Step 500

    500

    #AE7594

    oklch(63.1% 0.082 345.9)

  7. Step 600

    600

    #995D7F

    oklch(55.6% 0.09 345.4)

  8. Step 700

    700

    #824D6B

    oklch(49.1% 0.082 345.5)

  9. Step 800

    800

    #6A3F57

    oklch(42.7% 0.069 345.8)

  10. Step 900

    900

    #563648

    oklch(37.7% 0.053 345.2)

  11. Step 950

    950 (this color)

    #27151F

    oklch(22.4% 0.034 345.7)

Export this scale for Tailwind in the Tailwind colors tool

#27151F 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)#16191F0.036
Deuteranopia (no green cones)#1B1C1F0.033
Tritanopia (no blue cones)#2915190.012
Achromatopsia (no color)#1B1B1B0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #27151F

    #27151F

    oklch(22.4% 0.034 345.7)

  • #0A2118

    #0A2118

    oklch(22.6% 0.034 165.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27151F

    #27151F

    oklch(22.4% 0.034 345.7)

  • #221726

    #221726

    oklch(22.6% 0.033 316.8)

  • #291516

    #291516

    oklch(22.4% 0.033 16.8)

Open the analogous palette in the generator

Split complementary

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

  • #27151F

    #27151F

    oklch(22.4% 0.034 345.7)

  • #141F0F

    #141F0F

    oklch(22.3% 0.034 136.3)

  • #042021

    #042021

    oklch(22.3% 0.034 198.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27151F

    #27151F

    oklch(22.4% 0.034 345.7)

  • #1E1D09

    #1E1D09

    oklch(22.6% 0.034 106.2)

  • #071F28

    #071F28

    oklch(22.5% 0.034 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27151F

    #27151F

    oklch(22.4% 0.034 345.7)

  • #251908

    #251908

    oklch(22.4% 0.034 74.2)

  • #0A2118

    #0A2118

    oklch(22.6% 0.034 165.4)

  • #111C2B

    #111C2B

    oklch(22.4% 0.033 256.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27151F 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.