#28151C

Closest named color: Jet (#212529). oklch(22.5% 0.033 356.4), rgb(40, 21, 28).

Aa

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

About this color

#28151C is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.033 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.053 away. White text reads best on it, at 17.29:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.033)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.21:1
White text17.29:1

Values

HEX#28151C
RGBrgb(40, 21, 28)
HSLhsl(338, 31%, 12%)
OKLCHoklch(22.5% 0.033 356.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 #28151C 17.29:1 AAA Lc -106.4 Preferred for body text
Black text on #28151C 1.21:1 Fails Lc 0.0 Not readable
#28151C text on white 17.29:1 AAA Lc 104.1 Preferred for body text
#28151C 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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F1E7EA

    oklch(93.7% 0.012 357)

  3. Step 200

    200

    #E6D4D9

    oklch(88.6% 0.021 358.7)

  4. Step 300

    300

    #D7B7C1

    oklch(81% 0.039 357.2)

  5. Step 400

    400

    #C191A1

    oklch(70.7% 0.062 357)

  6. Step 500

    500

    #B1758B

    oklch(63.1% 0.08 356)

  7. Step 600

    600

    #9C5D74

    oklch(55.6% 0.087 356.9)

  8. Step 700

    700

    #854C62

    oklch(49% 0.082 355.9)

  9. Step 800

    800

    #6C3F50

    oklch(42.7% 0.067 356.1)

  10. Step 900

    900

    #583642

    oklch(37.8% 0.052 357.1)

  11. Step 950

    950 (this color)

    #28151C

    oklch(22.5% 0.033 356.4)

Export this scale for Tailwind in the Tailwind colors tool

#28151C 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)#17191C0.037
Deuteranopia (no green cones)#1C1C1C0.033
Tritanopia (no blue cones)#2B14170.011
Achromatopsia (no color)#1B1B1B0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #28151C

    #28151C

    oklch(22.5% 0.033 356.4)

  • #08211B

    #08211B

    oklch(22.6% 0.033 174.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28151C

    #28151C

    oklch(22.5% 0.033 356.4)

  • #241624

    #241624

    oklch(22.5% 0.034 326.6)

  • #291513

    #291513

    oklch(22.3% 0.033 26.2)

Open the analogous palette in the generator

Split complementary

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

  • #28151C

    #28151C

    oklch(22.5% 0.033 356.4)

  • #112012

    #112012

    oklch(22.5% 0.034 145.9)

  • #052023

    #052023

    oklch(22.5% 0.033 205.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28151C

    #28151C

    oklch(22.5% 0.033 356.4)

  • #1B1E0B

    #1B1E0B

    oklch(22.6% 0.033 116.5)

  • #0B1E29

    #0B1E29

    oklch(22.5% 0.033 236.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28151C

    #28151C

    oklch(22.5% 0.033 356.4)

  • #221B08

    #221B08

    oklch(22.5% 0.034 89.4)

  • #08211B

    #08211B

    oklch(22.6% 0.033 174.9)

  • #151B2B

    #151B2B

    oklch(22.4% 0.033 268)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28151C 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.