#40132E

Closest named color: Aubergine (#3D0734). oklch(27% 0.078 346.6), rgb(64, 19, 46).

Aa

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

About this color

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

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

Values

HEX#40132E
RGBrgb(64, 19, 46)
HSLhsl(324, 54%, 16%)
OKLCHoklch(27% 0.078 346.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 #40132E 15.54:1 AAA Lc -104.8 Preferred for body text
Black text on #40132E 1.35:1 Fails Lc 0.0 Not readable
#40132E text on white 15.54:1 AAA Lc 102.1 Preferred for body text
#40132E 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

    #F8E3ED

    oklch(93.6% 0.026 347.1)

  3. Step 200

    200

    #F4CCE0

    oklch(88.5% 0.052 346.6)

  4. Step 300

    300

    #EDA8CD

    oklch(80.8% 0.093 346)

  5. Step 400

    400

    #E177B3

    oklch(70.7% 0.148 346.5)

  6. Step 500

    500

    #D64EA0

    oklch(63.1% 0.19 346.7)

  7. Step 600

    600

    #C1298B

    oklch(55.6% 0.207 346.6)

  8. Step 700

    700

    #A61976

    oklch(49.1% 0.192 346.6)

  9. Step 800

    800

    #871960

    oklch(42.7% 0.159 346.7)

  10. Step 900

    900

    #6D1E4E

    oklch(37.8% 0.123 347.2)

  11. Step 950

    950 (this color)

    #40132E

    oklch(27% 0.078 346.6)

Export this scale for Tailwind in the Tailwind colors tool

#40132E 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)#181F2F0.085
Deuteranopia (no green cones)#25272D0.076
Tritanopia (no blue cones)#45121E0.032
Achromatopsia (no color)#2424240.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #40132E

    #40132E

    oklch(27% 0.078 346.6)

  • #002F20

    #002F20

    oklch(27.1% 0.056 165.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40132E

    #40132E

    oklch(27% 0.078 346.6)

  • #35183F

    #35183F

    oklch(27% 0.077 316.7)

  • #451218

    #451218

    oklch(27% 0.078 17.3)

Open the analogous palette in the generator

Split complementary

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

  • #40132E

    #40132E

    oklch(27% 0.078 346.6)

  • #122E02

    #122E02

    oklch(26.9% 0.077 136.4)

  • #002D2E

    #002D2E

    oklch(27% 0.046 197.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40132E

    #40132E

    oklch(27% 0.078 346.6)

  • #2A2800

    #2A2800

    oklch(27% 0.058 106.8)

  • #002B3A

    #002B3A

    oklch(27% 0.052 227.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40132E

    #40132E

    oklch(27% 0.078 346.6)

  • #362200

    #362200

    oklch(27% 0.057 76.3)

  • #002F20

    #002F20

    oklch(27.1% 0.056 165.8)

  • #08264C

    #08264C

    oklch(27.1% 0.079 256.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40132E 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.