#D2045A

Closest named color: Dark Hot Pink (#D90166). oklch(55.4% 0.221 7.9), rgb(210, 4, 90).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.221)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text3.90:1
White text5.37:1

Values

HEX#D2045A
RGBrgb(210, 4, 90)
HSLhsl(335, 96%, 42%)
OKLCHoklch(55.4% 0.221 7.9)

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 #D2045A 5.37:1 AA Lc -79.6 Fine for body text
Black text on #D2045A 3.90:1 AA large text Lc 29.9 Dividers and decoration only
#D2045A text on white 5.37:1 AA Lc 74.2 Content text, not long reading
#D2045A text on black 3.90:1 AA large text Lc -27.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

    #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

    #F9A6B4

    oklch(81% 0.099 8.5)

  5. Step 400

    400

    #F1718E

    oklch(70.8% 0.159 7.8)

  6. Step 500

    500

    #E74272

    oklch(63.1% 0.202 7.9)

  7. Step 600

    600 (this color)

    #D2045A

    oklch(55.4% 0.221 7.9)

  8. Step 700

    700

    #B3004B

    oklch(49.1% 0.197 8.1)

  9. Step 800

    800

    #94023D

    oklch(42.8% 0.17 8.1)

  10. Step 900

    900

    #771534

    oklch(37.8% 0.132 8.2)

  11. Step 950

    950

    #460F1F

    oklch(27% 0.084 7.4)

Export this scale for Tailwind in the Tailwind colors tool

#D2045A 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)#4F525B0.251
Deuteranopia (no green cones)#8078550.226
Tritanopia (no blue cones)#E600340.065
Achromatopsia (no color)#6A6A6A0.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2045A

    #D2045A

    oklch(55.4% 0.221 7.9)

  • #00857D

    #00857D

    oklch(55.5% 0.097 187.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2045A

    #D2045A

    oklch(55.4% 0.221 7.9)

  • #BD239E

    #BD239E

    oklch(55.5% 0.221 338.2)

  • #C53D00

    #C53D00

    oklch(55.4% 0.181 38)

Open the analogous palette in the generator

Split complementary

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

  • #D2045A

    #D2045A

    oklch(55.4% 0.221 7.9)

  • #008954

    #008954

    oklch(55.5% 0.13 157.7)

  • #008099

    #008099

    oklch(55.4% 0.099 217.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2045A

    #D2045A

    oklch(55.4% 0.221 7.9)

  • #5A8200

    #5A8200

    oklch(55.6% 0.145 128)

  • #0077C5

    #0077C5

    oklch(55.6% 0.149 247.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2045A

    #D2045A

    oklch(55.4% 0.221 7.9)

  • #857300

    #857300

    oklch(55.6% 0.115 98.3)

  • #00857D

    #00857D

    oklch(55.5% 0.097 187.4)

  • #5C57EF

    #5C57EF

    oklch(55.4% 0.221 277.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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