#28161C

Closest named color: Jet (#212529). oklch(22.7% 0.031 358.3), rgb(40, 22, 28).

Aa

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

About this color

#28161C is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.031 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.050 away. White text reads best on it, at 17.18:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.031)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.22:1
White text17.18:1

Values

HEX#28161C
RGBrgb(40, 22, 28)
HSLhsl(340, 29%, 12%)
OKLCHoklch(22.7% 0.031 358.3)

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 #28161C 17.18:1 AAA Lc -106.3 Preferred for body text
Black text on #28161C 1.22:1 Fails Lc 0.0 Not readable
#28161C text on white 17.18:1 AAA Lc 104.0 Preferred for body text
#28161C text on black 1.22: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

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #F0E7EA

    oklch(93.6% 0.011 354.9)

  3. Step 200

    200

    #E5D4D9

    oklch(88.5% 0.02 357.7)

  4. Step 300

    300

    #D6B7C0

    oklch(80.9% 0.037 358.6)

  5. Step 400

    400

    #C092A0

    oklch(70.8% 0.058 358.7)

  6. Step 500

    500

    #AF7789

    oklch(63.2% 0.074 358.5)

  7. Step 600

    600

    #9A5F73

    oklch(55.7% 0.081 358.2)

  8. Step 700

    700

    #834E60

    oklch(49.1% 0.075 358.4)

  9. Step 800

    800

    #6B404F

    oklch(42.7% 0.063 357.7)

  10. Step 900

    900

    #573741

    oklch(37.8% 0.048 359.4)

  11. Step 950

    950 (this color)

    #28161C

    oklch(22.7% 0.031 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#28161C 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)#18191C0.034
Deuteranopia (no green cones)#1D1C1C0.029
Tritanopia (no blue cones)#2B15180.009
Achromatopsia (no color)#1B1B1B0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #28161C

    #28161C

    oklch(22.7% 0.031 358.3)

  • #0A211C

    #0A211C

    oklch(22.7% 0.031 177.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28161C

    #28161C

    oklch(22.7% 0.031 358.3)

  • #241723

    #241723

    oklch(22.7% 0.03 329.1)

  • #291714

    #291714

    oklch(22.8% 0.03 29.9)

Open the analogous palette in the generator

Split complementary

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

  • #28161C

    #28161C

    oklch(22.7% 0.031 358.3)

  • #122014

    #122014

    oklch(22.6% 0.03 148.1)

  • #082024

    #082024

    oklch(22.7% 0.031 210)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28161C

    #28161C

    oklch(22.7% 0.031 358.3)

  • #1B1E0D

    #1B1E0D

    oklch(22.7% 0.031 117.1)

  • #0D1E29

    #0D1E29

    oklch(22.6% 0.031 238.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28161C

    #28161C

    oklch(22.7% 0.031 358.3)

  • #221B0A

    #221B0A

    oklch(22.6% 0.031 87.5)

  • #0A211C

    #0A211C

    oklch(22.7% 0.031 177.1)

  • #161C2B

    #161C2B

    oklch(22.8% 0.031 267.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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