#D51C6B

Closest named color: Dark Hot Pink (#D90166). oklch(57.2% 0.217 3.2), rgb(213, 28, 107).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.20:1
White text4.99:1

Values

HEX#D51C6B
RGBrgb(213, 28, 107)
HSLhsl(334, 77%, 47%)
OKLCHoklch(57.2% 0.217 3.2)

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 #D51C6B 4.99:1 AA Lc -78.0 Fine for body text
Black text on #D51C6B 4.20:1 AA large text Lc 31.5 Non-text elements, placeholder text
#D51C6B text on white 4.99:1 AA Lc 72.5 Content text, not long reading
#D51C6B text on black 4.20:1 AA large text Lc -29.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

    #FBE2E8

    oklch(93.5% 0.028 1.4)

  3. Step 200

    200

    #FACBD5

    oklch(88.6% 0.055 4)

  4. Step 300

    300

    #F7A6BA

    oklch(80.9% 0.098 3.4)

  5. Step 400

    400

    #EE7297

    oklch(70.7% 0.157 3.1)

  6. Step 500

    500

    #E4447D

    oklch(63.1% 0.2 3.3)

  7. Step 600

    600 (this color)

    #D51C6B

    oklch(57.2% 0.217 3.2)

  8. Step 700

    700

    #B10055

    oklch(49% 0.197 3.3)

  9. Step 800

    800

    #910846

    oklch(42.7% 0.167 3)

  10. Step 900

    900

    #75163B

    oklch(37.7% 0.131 2.9)

  11. Step 950

    950

    #451022

    oklch(27% 0.082 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#D51C6B 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)#52596D0.246
Deuteranopia (no green cones)#817C670.222
Tritanopia (no blue cones)#E800430.065
Achromatopsia (no color)#6F6F6F0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D51C6B

    #D51C6B

    oklch(57.2% 0.217 3.2)

  • #008B7E

    #008B7E

    oklch(57.2% 0.102 183.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D51C6B

    #D51C6B

    oklch(57.2% 0.217 3.2)

  • #BD31AD

    #BD31AD

    oklch(57.2% 0.218 333.2)

  • #D72D00

    #D72D00

    oklch(57.1% 0.21 33.2)

Open the analogous palette in the generator

Split complementary

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

  • #D51C6B

    #D51C6B

    oklch(57.2% 0.217 3.2)

  • #00904C

    #00904C

    oklch(57.3% 0.147 153.1)

  • #00879B

    #00879B

    oklch(57.3% 0.1 212.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D51C6B

    #D51C6B

    oklch(57.2% 0.217 3.2)

  • #688400

    #688400

    oklch(57.1% 0.14 123.2)

  • #007FC2

    #007FC2

    oklch(57.3% 0.138 242.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D51C6B

    #D51C6B

    oklch(57.2% 0.217 3.2)

  • #907500

    #907500

    oklch(57.2% 0.117 92.7)

  • #008B7E

    #008B7E

    oklch(57.2% 0.102 183.4)

  • #5462F5

    #5462F5

    oklch(57.2% 0.217 273.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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