#28040C

Closest named color: Very Dark Brown (#1D0200). oklch(18.6% 0.062 10.9), rgb(40, 4, 12).

Aa

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

About this color

#28040C is a very dark, muted red. In OKLCH its lightness is 19%, its chroma 0.062 and its hue 11°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.043 away. White text reads best on it, at 18.86:1.

Hue familyReds
Lightnessvery dark (19%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.11:1
White text18.86:1

Values

HEX#28040C
RGBrgb(40, 4, 12)
HSLhsl(347, 82%, 9%)
OKLCHoklch(18.6% 0.062 10.9)

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 #28040C 18.86:1 AAA Lc -107.0 Preferred for body text
Black text on #28040C 1.11:1 Fails Lc 0.0 Not readable
#28040C text on white 18.86:1 AAA Lc 104.9 Preferred for body text
#28040C text on black 1.11: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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F8E4E6

    oklch(93.5% 0.022 10.6)

  3. Step 200

    200

    #F3CFD2

    oklch(88.6% 0.041 12.3)

  4. Step 300

    300

    #EBAEB5

    oklch(80.9% 0.072 11.2)

  5. Step 400

    400

    #DF818F

    oklch(70.8% 0.117 10.9)

  6. Step 500

    500

    #D35D73

    oklch(63.1% 0.15 10.9)

  7. Step 600

    600

    #BE405C

    oklch(55.6% 0.162 10.8)

  8. Step 700

    700

    #A3304B

    oklch(49% 0.151 10.9)

  9. Step 800

    800

    #852A3E

    oklch(42.8% 0.125 11)

  10. Step 900

    900

    #6B2735

    oklch(37.7% 0.098 10.5)

  11. Step 950

    950 (this color)

    #28040C

    oklch(18.6% 0.062 10.9)

Export this scale for Tailwind in the Tailwind colors tool

#28040C 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)#0C0C0C0.069
Deuteranopia (no green cones)#16140B0.063
Tritanopia (no blue cones)#2D00070.016
Achromatopsia (no color)#1111110.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #28040C

    #28040C

    oklch(18.6% 0.062 10.9)

  • #001716

    #001716

    oklch(18.5% 0.032 191.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28040C

    #28040C

    oklch(18.6% 0.062 10.9)

  • #24051B

    #24051B

    oklch(18.6% 0.063 341.1)

  • #270700

    #270700

    oklch(18.6% 0.058 40.3)

Open the analogous palette in the generator

Split complementary

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

  • #28040C

    #28040C

    oklch(18.6% 0.062 10.9)

  • #00180D

    #00180D

    oklch(18.5% 0.04 162.2)

  • #00161D

    #00161D

    oklch(18.5% 0.034 220)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28040C

    #28040C

    oklch(18.6% 0.062 10.9)

  • #0B1700

    #0B1700

    oklch(18.6% 0.05 130.2)

  • #00132A

    #00132A

    oklch(18.5% 0.055 251.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28040C

    #28040C

    oklch(18.6% 0.062 10.9)

  • #171300

    #171300

    oklch(18.6% 0.039 99.8)

  • #001716

    #001716

    oklch(18.5% 0.032 191.1)

  • #0F0D2D

    #0F0D2D

    oklch(18.5% 0.062 281.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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