#40142C

Closest named color: Aubergine (#3D0734). oklch(27.1% 0.075 349.5), rgb(64, 20, 44).

Aa

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

About this color

#40142C is a dark, moderately saturated red. In OKLCH its lightness is 27%, its chroma 0.075 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.035 away. White text reads best on it, at 15.50:1.

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

Values

HEX#40142C
RGBrgb(64, 20, 44)
HSLhsl(327, 52%, 16%)
OKLCHoklch(27.1% 0.075 349.5)

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 #40142C 15.50:1 AAA Lc -104.8 Preferred for body text
Black text on #40142C 1.35:1 Fails Lc 0.0 Not readable
#40142C text on white 15.50:1 AAA Lc 102.0 Preferred for body text
#40142C 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F8E3EC

    oklch(93.5% 0.026 349.8)

  3. Step 200

    200

    #F4CCDE

    oklch(88.5% 0.051 349.3)

  4. Step 300

    300

    #EDA9C9

    oklch(80.8% 0.089 349.5)

  5. Step 400

    400

    #E179AE

    oklch(70.8% 0.142 349.5)

  6. Step 500

    500

    #D5519A

    oklch(63.1% 0.182 349.3)

  7. Step 600

    600

    #C02E84

    oklch(55.5% 0.198 349.5)

  8. Step 700

    700

    #A51E70

    oklch(49% 0.184 349.3)

  9. Step 800

    800

    #861D5B

    oklch(42.6% 0.152 349.5)

  10. Step 900

    900

    #6C1F4B

    oklch(37.6% 0.119 349.1)

  11. Step 950

    950 (this color)

    #40142C

    oklch(27.1% 0.075 349.5)

Export this scale for Tailwind in the Tailwind colors tool

#40142C 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)#191F2D0.083
Deuteranopia (no green cones)#26272B0.074
Tritanopia (no blue cones)#45121E0.027
Achromatopsia (no color)#2424240.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #40142C

    #40142C

    oklch(27.1% 0.075 349.5)

  • #002F22

    #002F22

    oklch(27.1% 0.054 168.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40142C

    #40142C

    oklch(27.1% 0.075 349.5)

  • #36183D

    #36183D

    oklch(27% 0.075 319.8)

  • #441317

    #441317

    oklch(26.9% 0.075 19)

Open the analogous palette in the generator

Split complementary

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

  • #40142C

    #40142C

    oklch(27.1% 0.075 349.5)

  • #0F2F06

    #0F2F06

    oklch(27.1% 0.076 139.5)

  • #002D2F

    #002D2F

    oklch(27% 0.046 199.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40142C

    #40142C

    oklch(27.1% 0.075 349.5)

  • #292900

    #292900

    oklch(27.2% 0.059 109.8)

  • #002B3B

    #002B3B

    oklch(27% 0.053 228.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40142C

    #40142C

    oklch(27.1% 0.075 349.5)

  • #352300

    #352300

    oklch(27.1% 0.056 79.9)

  • #002F22

    #002F22

    oklch(27.1% 0.054 168.9)

  • #0E254B

    #0E254B

    oklch(27% 0.076 259.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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