#40182B

Closest named color: Aubergine (#3D0734). oklch(27.6% 0.067 352.7), rgb(64, 24, 43).

Aa

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

About this color

#40182B is a dark, muted red. In OKLCH its lightness is 28%, its chroma 0.067 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.046 away. White text reads best on it, at 15.17:1.

Hue familyReds
Lightnessdark (28%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.38:1
White text15.17:1

Values

HEX#40182B
RGBrgb(64, 24, 43)
HSLhsl(332, 45%, 17%)
OKLCHoklch(27.6% 0.067 352.7)

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 #40182B 15.17:1 AAA Lc -104.6 Preferred for body text
Black text on #40182B 1.38:1 Fails Lc 0.0 Not readable
#40182B text on white 15.17:1 AAA Lc 101.8 Preferred for body text
#40182B text on black 1.38: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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F2CEDC

    oklch(88.6% 0.044 352.6)

  4. Step 300

    300

    #EAACC5

    oklch(80.9% 0.079 353)

  5. Step 400

    400

    #DD7DA8

    oklch(70.7% 0.128 352.6)

  6. Step 500

    500

    #D05992

    oklch(63.1% 0.162 352.8)

  7. Step 600

    600

    #BB3A7D

    oklch(55.5% 0.177 352.4)

  8. Step 700

    700

    #A12B69

    oklch(49.1% 0.164 352.7)

  9. Step 800

    800

    #832656

    oklch(42.8% 0.136 352.6)

  10. Step 900

    900

    #6A2547

    oklch(37.8% 0.106 352.7)

  11. Step 950

    950 (this color)

    #40182B

    oklch(27.6% 0.067 352.7)

Export this scale for Tailwind in the Tailwind colors tool

#40182B 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)#1D212C0.074
Deuteranopia (no green cones)#28282A0.066
Tritanopia (no blue cones)#45161F0.024
Achromatopsia (no color)#2626260.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #40182B

    #40182B

    oklch(27.6% 0.067 352.7)

  • #003025

    #003025

    oklch(27.6% 0.053 172.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40182B

    #40182B

    oklch(27.6% 0.067 352.7)

  • #371B3B

    #371B3B

    oklch(27.6% 0.068 322.5)

  • #431818

    #431818

    oklch(27.5% 0.067 22.5)

Open the analogous palette in the generator

Split complementary

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

  • #40182B

    #40182B

    oklch(27.6% 0.067 352.7)

  • #11300F

    #11300F

    oklch(27.6% 0.068 142.4)

  • #002F32

    #002F32

    oklch(27.8% 0.047 201.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40182B

    #40182B

    oklch(27.6% 0.067 352.7)

  • #292B00

    #292B00

    oklch(27.8% 0.062 112.5)

  • #002C3F

    #002C3F

    oklch(27.6% 0.057 232.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40182B

    #40182B

    oklch(27.6% 0.067 352.7)

  • #362500

    #362500

    oklch(27.8% 0.057 82.4)

  • #003025

    #003025

    oklch(27.6% 0.053 172.6)

  • #162749

    #162749

    oklch(27.8% 0.067 262.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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