#40152A

Closest named color: Aubergine (#3D0734). oklch(27.1% 0.072 352.6), rgb(64, 21, 42).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (27%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.35:1
White text15.45:1

Values

HEX#40152A
RGBrgb(64, 21, 42)
HSLhsl(331, 51%, 17%)
OKLCHoklch(27.1% 0.072 352.6)

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 #40152A 15.45:1 AAA Lc -104.8 Preferred for body text
Black text on #40152A 1.35:1 Fails Lc 0.0 Not readable
#40152A text on white 15.45:1 AAA Lc 102.0 Preferred for body text
#40152A text on black 1.35: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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EB

    oklch(93.5% 0.025 352.5)

  3. Step 200

    200

    #F3CDDC

    oklch(88.5% 0.047 352.4)

  4. Step 300

    300

    #EDAAC6

    oklch(80.9% 0.086 352.4)

  5. Step 400

    400

    #E07AA9

    oklch(70.6% 0.137 352.1)

  6. Step 500

    500

    #D55493

    oklch(63.2% 0.174 352.9)

  7. Step 600

    600

    #C0327E

    oklch(55.6% 0.19 352.5)

  8. Step 700

    700

    #A5236A

    oklch(49.1% 0.176 352.6)

  9. Step 800

    800

    #862056

    oklch(42.7% 0.146 352.8)

  10. Step 900

    900

    #6C2147

    oklch(37.7% 0.114 352.7)

  11. Step 950

    950 (this color)

    #40152A

    oklch(27.1% 0.072 352.6)

Export this scale for Tailwind in the Tailwind colors tool

#40152A 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)#1B1F2B0.079
Deuteranopia (no green cones)#2727290.071
Tritanopia (no blue cones)#45131D0.025
Achromatopsia (no color)#2424240.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #40152A

    #40152A

    oklch(27.1% 0.072 352.6)

  • #002F24

    #002F24

    oklch(27.2% 0.053 172.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40152A

    #40152A

    oklch(27.1% 0.072 352.6)

  • #37193B

    #37193B

    oklch(27.2% 0.072 322.8)

  • #441516

    #441516

    oklch(27.2% 0.073 22.1)

Open the analogous palette in the generator

Split complementary

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

  • #40152A

    #40152A

    oklch(27.1% 0.072 352.6)

  • #0D2F0B

    #0D2F0B

    oklch(27.1% 0.072 142.4)

  • #002D31

    #002D31

    oklch(27.1% 0.046 204.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40152A

    #40152A

    oklch(27.1% 0.072 352.6)

  • #272900

    #272900

    oklch(27% 0.06 112.6)

  • #002B3D

    #002B3D

    oklch(27.1% 0.055 231.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40152A

    #40152A

    oklch(27.1% 0.072 352.6)

  • #342400

    #342400

    oklch(27.2% 0.056 83.5)

  • #002F24

    #002F24

    oklch(27.2% 0.053 172.2)

  • #13254A

    #13254A

    oklch(27.2% 0.073 262.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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