#D40A5D

Closest named color: Dark Hot Pink (#D90166). oklch(56% 0.221 7.4), rgb(212, 10, 93).

Aa

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

About this color

#D40A5D is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.221 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Hot Pink (#D90166), ΔE 0.016 away. White text reads best on it, at 5.24:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.221)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.00:1
White text5.24:1

Values

HEX#D40A5D
RGBrgb(212, 10, 93)
HSLhsl(335, 91%, 44%)
OKLCHoklch(56% 0.221 7.4)

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 #D40A5D 5.24:1 AA Lc -79.1 Fine for body text
Black text on #D40A5D 4.00:1 AA large text Lc 30.4 Non-text elements, placeholder text
#D40A5D text on white 5.24:1 AA Lc 73.6 Content text, not long reading
#D40A5D text on black 4.00:1 AA large text Lc -28.1 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E6

    oklch(93.5% 0.029 7.1)

  3. Step 200

    200

    #FBCBD2

    oklch(88.6% 0.055 8.4)

  4. Step 300

    300

    #F8A6B5

    oklch(80.9% 0.098 7.5)

  5. Step 400

    400

    #F1718F

    oklch(70.8% 0.159 7.3)

  6. Step 500

    500

    #E74273

    oklch(63.1% 0.203 7.5)

  7. Step 600

    600 (this color)

    #D40A5D

    oklch(56% 0.221 7.4)

  8. Step 700

    700

    #B3004C

    oklch(49.1% 0.197 7.6)

  9. Step 800

    800

    #94023E

    oklch(42.8% 0.17 7.5)

  10. Step 900

    900

    #771435

    oklch(37.8% 0.133 7.3)

  11. Step 950

    950

    #460F1F

    oklch(27% 0.084 7.4)

Export this scale for Tailwind in the Tailwind colors tool

#D40A5D 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)#50545E0.252
Deuteranopia (no green cones)#8179580.226
Tritanopia (no blue cones)#E800370.065
Achromatopsia (no color)#6C6C6C0.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #D40A5D

    #D40A5D

    oklch(56% 0.221 7.4)

  • #00877E

    #00877E

    oklch(56.1% 0.098 186.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D40A5D

    #D40A5D

    oklch(56% 0.221 7.4)

  • #BE26A1

    #BE26A1

    oklch(56% 0.221 337.5)

  • #C93C00

    #C93C00

    oklch(55.9% 0.186 37.3)

Open the analogous palette in the generator

Split complementary

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

  • #D40A5D

    #D40A5D

    oklch(56% 0.221 7.4)

  • #008B54

    #008B54

    oklch(56% 0.133 157.2)

  • #00829B

    #00829B

    oklch(56% 0.1 217.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D40A5D

    #D40A5D

    oklch(56% 0.221 7.4)

  • #5D8300

    #5D8300

    oklch(56% 0.145 127.2)

  • #0079C6

    #0079C6

    oklch(56.1% 0.148 247.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D40A5D

    #D40A5D

    oklch(56% 0.221 7.4)

  • #877400

    #877400

    oklch(56% 0.116 97.7)

  • #00877E

    #00877E

    oklch(56.1% 0.098 186.6)

  • #5C59F1

    #5C59F1

    oklch(55.9% 0.221 277.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #D40A5D 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.