#400303

Closest named color: Deep Brown (#410200). oklch(23.8% 0.091 27.9), rgb(64, 3, 3).

Aa

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

About this color

#400303 is a very dark, moderately saturated red. In OKLCH its lightness is 24%, its chroma 0.091 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.005 away. White text reads best on it, at 17.04:1.

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.23:1
White text17.04:1

Values

HEX#400303
RGBrgb(64, 3, 3)
HSLhsl(0, 91%, 13%)
OKLCHoklch(23.8% 0.091 27.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 #400303 17.04:1 AAA Lc -105.5 Preferred for body text
Black text on #400303 1.23:1 Fails Lc 0.0 Not readable
#400303 text on white 17.04:1 AAA Lc 103.0 Preferred for body text
#400303 text on black 1.23: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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FEE3DE

    oklch(93.6% 0.031 30.2)

  3. Step 200

    200

    #FFCBC3

    oklch(88.6% 0.06 28.4)

  4. Step 300

    300

    #FFA59A

    oklch(80.9% 0.109 27.3)

  5. Step 400

    400

    #FA6F61

    oklch(70.8% 0.173 28)

  6. Step 500

    500

    #F23932

    oklch(63% 0.221 27.9)

  7. Step 600

    600

    #D90010

    oklch(55.6% 0.227 27.9)

  8. Step 700

    700

    #B8000B

    oklch(49.2% 0.201 28)

  9. Step 800

    800

    #980008

    oklch(42.7% 0.175 27.8)

  10. Step 900

    900

    #7D0D0C

    oklch(37.8% 0.145 28.1)

  11. Step 950

    950 (this color)

    #400303

    oklch(23.8% 0.091 27.9)

Export this scale for Tailwind in the Tailwind colors tool

#400303 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)#1713020.100
Deuteranopia (no green cones)#2621010.091
Tritanopia (no blue cones)#4800040.019
Achromatopsia (no color)#1C1C1C0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #400303

    #400303

    oklch(23.8% 0.091 27.9)

  • #002429

    #002429

    oklch(23.8% 0.041 208.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400303

    #400303

    oklch(23.8% 0.091 27.9)

  • #3D031F

    #3D031F

    oklch(23.8% 0.091 357.5)

  • #321600

    #321600

    oklch(23.7% 0.057 57.1)

Open the analogous palette in the generator

Split complementary

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

  • #400303

    #400303

    oklch(23.8% 0.091 27.9)

  • #00251F

    #00251F

    oklch(23.7% 0.043 179.4)

  • #002234

    #002234

    oklch(23.9% 0.052 236.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400303

    #400303

    oklch(23.8% 0.091 27.9)

  • #002709

    #002709

    oklch(23.8% 0.069 147.7)

  • #0D1949

    #0D1949

    oklch(23.8% 0.091 268)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400303

    #400303

    oklch(23.8% 0.091 27.9)

  • #1D2200

    #1D2200

    oklch(23.8% 0.055 117.5)

  • #002429

    #002429

    oklch(23.8% 0.041 208.4)

  • #251043

    #251043

    oklch(23.7% 0.091 297.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #400303 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.