#40102E

Closest named color: Aubergine (#3D0734). oklch(26.6% 0.083 345.8), rgb(64, 16, 46).

Aa

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

About this color

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

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

Values

HEX#40102E
RGBrgb(64, 16, 46)
HSLhsl(323, 60%, 16%)
OKLCHoklch(26.6% 0.083 345.8)

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 #40102E 15.77:1 AAA Lc -104.9 Preferred for body text
Black text on #40102E 1.33:1 Fails Lc 0.0 Not readable
#40102E text on white 15.77:1 AAA Lc 102.2 Preferred for body text
#40102E 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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CBE1

    oklch(88.4% 0.055 345.4)

  4. Step 300

    300

    #F0A7CE

    oklch(81% 0.099 346.2)

  5. Step 400

    400

    #E474B6

    oklch(70.7% 0.158 345.5)

  6. Step 500

    500

    #D948A3

    oklch(63.1% 0.202 345.8)

  7. Step 600

    600

    #C41D8E

    oklch(55.6% 0.22 345.8)

  8. Step 700

    700

    #A90879

    oklch(49.1% 0.204 345.8)

  9. Step 800

    800

    #891162

    oklch(42.7% 0.169 345.9)

  10. Step 900

    900

    #6F1A50

    oklch(37.8% 0.131 346.3)

  11. Step 950

    950 (this color)

    #40102E

    oklch(26.6% 0.083 345.8)

Export this scale for Tailwind in the Tailwind colors tool

#40102E 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)#151E2F0.092
Deuteranopia (no green cones)#23262D0.082
Tritanopia (no blue cones)#450F1D0.034
Achromatopsia (no color)#2323230.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #40102E

    #40102E

    oklch(26.6% 0.083 345.8)

  • #002E1F

    #002E1F

    oklch(26.7% 0.056 165.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40102E

    #40102E

    oklch(26.6% 0.083 345.8)

  • #351640

    #351640

    oklch(26.7% 0.082 316.4)

  • #450E17

    #450E17

    oklch(26.5% 0.083 15.7)

Open the analogous palette in the generator

Split complementary

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

  • #40102E

    #40102E

    oklch(26.6% 0.083 345.8)

  • #112D00

    #112D00

    oklch(26.5% 0.079 136)

  • #002C2D

    #002C2D

    oklch(26.6% 0.045 197.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40102E

    #40102E

    oklch(26.6% 0.083 345.8)

  • #292700

    #292700

    oklch(26.6% 0.057 106.8)

  • #002A38

    #002A38

    oklch(26.5% 0.051 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40102E

    #40102E

    oklch(26.6% 0.083 345.8)

  • #352100

    #352100

    oklch(26.6% 0.056 75.7)

  • #002E1F

    #002E1F

    oklch(26.7% 0.056 165.5)

  • #03244D

    #03244D

    oklch(26.5% 0.085 256.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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