#28051B

Closest named color: Very Dark Purple (#2A0134). oklch(19.4% 0.066 345.8), rgb(40, 5, 27).

Aa

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

About this color

#28051B is a very dark, muted red. In OKLCH its lightness is 19%, its chroma 0.066 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.052 away. White text reads best on it, at 18.62:1.

Hue familyReds
Lightnessvery dark (19%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.12:1
White text18.62:1

Values

HEX#28051B
RGBrgb(40, 5, 27)
HSLhsl(322, 78%, 9%)
OKLCHoklch(19.4% 0.066 345.8)

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 #28051B 18.62:1 AAA Lc -106.9 Preferred for body text
Black text on #28051B 1.12:1 Fails Lc 0.0 Not readable
#28051B text on white 18.62:1 AAA Lc 104.8 Preferred for body text
#28051B text on black 1.12: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEDF

    oklch(88.5% 0.044 346.4)

  4. Step 300

    300

    #E7ADCB

    oklch(81% 0.078 346.6)

  5. Step 400

    400

    #D87FB1

    oklch(70.7% 0.125 346)

  6. Step 500

    500

    #CB5B9E

    oklch(63.1% 0.161 345.8)

  7. Step 600

    600

    #B63D89

    oklch(55.5% 0.175 345.7)

  8. Step 700

    700

    #9C2E74

    oklch(49% 0.162 345.7)

  9. Step 800

    800

    #7F285E

    oklch(42.7% 0.134 346.1)

  10. Step 900

    900

    #67264D

    oklch(37.7% 0.105 346.3)

  11. Step 950

    950 (this color)

    #28051B

    oklch(19.4% 0.066 345.8)

Export this scale for Tailwind in the Tailwind colors tool

#28051B 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)#090F1C0.073
Deuteranopia (no green cones)#13151A0.065
Tritanopia (no blue cones)#2B050E0.028
Achromatopsia (no color)#1313130.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #28051B

    #28051B

    oklch(19.4% 0.066 345.8)

  • #001A10

    #001A10

    oklch(19.3% 0.04 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28051B

    #28051B

    oklch(19.4% 0.066 345.8)

  • #200928

    #200928

    oklch(19.5% 0.065 316.4)

  • #2C040A

    #2C040A

    oklch(19.4% 0.066 16.2)

Open the analogous palette in the generator

Split complementary

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

  • #28051B

    #28051B

    oklch(19.4% 0.066 345.8)

  • #071A00

    #071A00

    oklch(19.4% 0.058 136.2)

  • #00191A

    #00191A

    oklch(19.4% 0.033 198.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28051B

    #28051B

    oklch(19.4% 0.066 345.8)

  • #171600

    #171600

    oklch(19.5% 0.042 107.6)

  • #001821

    #001821

    oklch(19.4% 0.037 224.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28051B

    #28051B

    oklch(19.4% 0.066 345.8)

  • #1F1200

    #1F1200

    oklch(19.5% 0.041 77.1)

  • #001A10

    #001A10

    oklch(19.3% 0.04 165.5)

  • #001431

    #001431

    oklch(19.5% 0.065 255.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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