#D00040

Closest named color: Cherry (#CF0234). oklch(54.4% 0.218 16.7), rgb(208, 0, 64).

Aa

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

About this color

#D00040 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.218 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.014 away. White text reads best on it, at 5.59:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.218)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.75:1
White text5.59:1

Values

HEX#D00040
RGBrgb(208, 0, 64)
HSLhsl(342, 100%, 41%)
OKLCHoklch(54.4% 0.218 16.7)

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 #D00040 5.59:1 AA Lc -80.6 Fine for body text
Black text on #D00040 3.75:1 AA large text Lc 28.9 Dividers and decoration only
#D00040 text on white 5.59:1 AA Lc 75.2 Fine for body text
#D00040 text on black 3.75:1 AA large text Lc -26.5 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FBCBCC

    oklch(88.4% 0.055 16.8)

  4. Step 300

    300

    #F9A7AA

    oklch(80.9% 0.097 17)

  5. Step 400

    400

    #F2737D

    oklch(70.8% 0.156 17.1)

  6. Step 500

    500

    #E9445D

    oklch(63.1% 0.2 16.7)

  7. Step 600

    600 (this color)

    #D00040

    oklch(54.4% 0.218 16.7)

  8. Step 700

    700

    #B50037

    oklch(49.1% 0.196 16.5)

  9. Step 800

    800

    #95052C

    oklch(42.7% 0.168 16.8)

  10. Step 900

    900

    #781628

    oklch(37.8% 0.131 16.6)

  11. Step 950

    950

    #461018

    oklch(26.9% 0.082 16.2)

Export this scale for Tailwind in the Tailwind colors tool

#D00040 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)#534F400.244
Deuteranopia (no green cones)#81753A0.221
Tritanopia (no blue cones)#E500250.053
Achromatopsia (no color)#6868680.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D00040

    #D00040

    oklch(54.4% 0.218 16.7)

  • #008082

    #008082

    oklch(54.4% 0.093 196.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D00040

    #D00040

    oklch(54.4% 0.218 16.7)

  • #C01888

    #C01888

    oklch(54.4% 0.217 346.8)

  • #B34C00

    #B34C00

    oklch(54.3% 0.151 46.6)

Open the analogous palette in the generator

Split complementary

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

  • #D00040

    #D00040

    oklch(54.4% 0.218 16.7)

  • #008462

    #008462

    oklch(54.4% 0.112 167)

  • #007B9F

    #007B9F

    oklch(54.4% 0.105 227.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D00040

    #D00040

    oklch(54.4% 0.218 16.7)

  • #3B8400

    #3B8400

    oklch(54.5% 0.164 136.7)

  • #006BDB

    #006BDB

    oklch(54.4% 0.19 256.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D00040

    #D00040

    oklch(54.4% 0.218 16.7)

  • #797400

    #797400

    oklch(54.6% 0.117 106.7)

  • #008082

    #008082

    oklch(54.4% 0.093 196.7)

  • #6E4DE5

    #6E4DE5

    oklch(54.5% 0.218 286.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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