#28151B

Closest named color: Jet (#212529). oklch(22.4% 0.032 359.6), rgb(40, 21, 27).

Aa

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

About this color

#28151B is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.032 and its hue 360°. 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.30:1.

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

Values

HEX#28151B
RGBrgb(40, 21, 27)
HSLhsl(341, 31%, 12%)
OKLCHoklch(22.4% 0.032 359.6)

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 #28151B 17.30:1 AAA Lc -106.4 Preferred for body text
Black text on #28151B 1.21:1 Fails Lc 0.0 Not readable
#28151B text on white 17.30:1 AAA Lc 104.1 Preferred for body text
#28151B 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

    #F1E7E9

    oklch(93.6% 0.011 3.5)

  3. Step 200

    200

    #E6D4D8

    oklch(88.6% 0.021 2.3)

  4. Step 300

    300

    #D7B7C0

    oklch(81% 0.039 359.2)

  5. Step 400

    400

    #C2919F

    oklch(70.7% 0.062 360)

  6. Step 500

    500

    #B17588

    oklch(63% 0.079 359.1)

  7. Step 600

    600

    #9C5D71

    oklch(55.5% 0.086 359.8)

  8. Step 700

    700

    #854D5F

    oklch(49.1% 0.079 359.7)

  9. Step 800

    800

    #6C3F4E

    oklch(42.6% 0.066 358.8)

  10. Step 900

    900

    #583641

    oklch(37.7% 0.051 358.9)

  11. Step 950

    950 (this color)

    #28151B

    oklch(22.4% 0.032 359.6)

Export this scale for Tailwind in the Tailwind colors tool

#28151B 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)#18181B0.034
Deuteranopia (no green cones)#1C1C1B0.033
Tritanopia (no blue cones)#2B14170.009
Achromatopsia (no color)#1B1B1B0.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #28151B

    #28151B

    oklch(22.4% 0.032 359.6)

  • #07211C

    #07211C

    oklch(22.6% 0.033 178.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28151B

    #28151B

    oklch(22.4% 0.032 359.6)

  • #241623

    #241623

    oklch(22.4% 0.032 329)

  • #291613

    #291613

    oklch(22.5% 0.032 29.5)

Open the analogous palette in the generator

Split complementary

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

  • #28151B

    #28151B

    oklch(22.4% 0.032 359.6)

  • #102013

    #102013

    oklch(22.5% 0.033 149.1)

  • #062024

    #062024

    oklch(22.6% 0.032 209.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28151B

    #28151B

    oklch(22.4% 0.032 359.6)

  • #1A1E0C

    #1A1E0C

    oklch(22.5% 0.032 119.3)

  • #0C1E29

    #0C1E29

    oklch(22.5% 0.032 237.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28151B

    #28151B

    oklch(22.4% 0.032 359.6)

  • #221B09

    #221B09

    oklch(22.6% 0.032 88.5)

  • #07211C

    #07211C

    oklch(22.6% 0.033 178.4)

  • #161B2B

    #161B2B

    oklch(22.5% 0.032 270.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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