#40122A

Closest named color: Aubergine (#3D0734). oklch(26.7% 0.077 351.3), rgb(64, 18, 42).

Aa

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

About this color

#40122A is a dark, moderately saturated red. In OKLCH its lightness is 27%, its chroma 0.077 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.034 away. White text reads best on it, at 15.69:1.

Hue familyReds
Lightnessdark (27%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.33:1
White text15.69:1

Values

HEX#40122A
RGBrgb(64, 18, 42)
HSLhsl(329, 56%, 16%)
OKLCHoklch(26.7% 0.077 351.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 #40122A 15.69:1 AAA Lc -104.9 Preferred for body text
Black text on #40122A 1.33:1 Fails Lc 0.0 Not readable
#40122A text on white 15.69:1 AAA Lc 102.2 Preferred for body text
#40122A text on black 1.33: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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #F9E3EC

    oklch(93.6% 0.027 350.9)

  3. Step 200

    200

    #F5CCDD

    oklch(88.5% 0.051 351.3)

  4. Step 300

    300

    #EFA8C8

    oklch(80.8% 0.092 350.7)

  5. Step 400

    400

    #E477AB

    oklch(70.8% 0.147 351.5)

  6. Step 500

    500

    #D84E97

    oklch(63.1% 0.187 351.1)

  7. Step 600

    600

    #C32981

    oklch(55.6% 0.203 351.2)

  8. Step 700

    700

    #A8186D

    oklch(49.1% 0.189 351.2)

  9. Step 800

    800

    #891959

    oklch(42.8% 0.157 351.3)

  10. Step 900

    900

    #6E1D49

    oklch(37.6% 0.123 351.2)

  11. Step 950

    950 (this color)

    #40122A

    oklch(26.7% 0.077 351.3)

Export this scale for Tailwind in the Tailwind colors tool

#40122A 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)#191E2B0.084
Deuteranopia (no green cones)#2526290.077
Tritanopia (no blue cones)#45101C0.028
Achromatopsia (no color)#2323230.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #40122A

    #40122A

    oklch(26.7% 0.077 351.3)

  • #002E22

    #002E22

    oklch(26.8% 0.053 170.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40122A

    #40122A

    oklch(26.7% 0.077 351.3)

  • #36163C

    #36163C

    oklch(26.6% 0.078 321.1)

  • #441214

    #441214

    oklch(26.7% 0.077 21.8)

Open the analogous palette in the generator

Split complementary

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

  • #40122A

    #40122A

    oklch(26.7% 0.077 351.3)

  • #0B2E06

    #0B2E06

    oklch(26.6% 0.077 141.1)

  • #002C2F

    #002C2F

    oklch(26.7% 0.045 201.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40122A

    #40122A

    oklch(26.7% 0.077 351.3)

  • #272800

    #272800

    oklch(26.7% 0.059 111.2)

  • #002A3B

    #002A3B

    oklch(26.7% 0.054 230.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40122A

    #40122A

    oklch(26.7% 0.077 351.3)

  • #332200

    #332200

    oklch(26.6% 0.055 80.9)

  • #002E22

    #002E22

    oklch(26.8% 0.053 170.2)

  • #0E244B

    #0E244B

    oklch(26.7% 0.078 260.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40122A 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.