#D4126F

Closest named color: Dark Hot Pink (#D90166). oklch(56.7% 0.223 0.9), rgb(212, 18, 111).

Aa

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

About this color

#D4126F is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.223 and its hue 1°. 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.10:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameDark Hot Pink (#D90166)
Black text4.11:1
White text5.10:1

Values

HEX#D4126F
RGBrgb(212, 18, 111)
HSLhsl(331, 84%, 45%)
OKLCHoklch(56.7% 0.223 0.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 #D4126F 5.10:1 AA Lc -78.4 Fine for body text
Black text on #D4126F 4.11:1 AA large text Lc 31.1 Non-text elements, placeholder text
#D4126F text on white 5.10:1 AA Lc 73.0 Content text, not long reading
#D4126F text on black 4.11:1 AA large text Lc -28.7 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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FCE2E9

    oklch(93.6% 0.03 359.5)

  3. Step 200

    200

    #FACBD7

    oklch(88.6% 0.055 1.2)

  4. Step 300

    300

    #F7A5BD

    oklch(80.9% 0.101 0.5)

  5. Step 400

    400

    #EE719B

    oklch(70.7% 0.159 0.8)

  6. Step 500

    500

    #E54182

    oklch(63.1% 0.205 1)

  7. Step 600

    600 (this color)

    #D4126F

    oklch(56.7% 0.223 0.9)

  8. Step 700

    700

    #B1005A

    oklch(49.2% 0.199 1.1)

  9. Step 800

    800

    #920249

    oklch(42.7% 0.172 1.3)

  10. Step 900

    900

    #75143D

    oklch(37.6% 0.134 1.1)

  11. Step 950

    950

    #450F24

    oklch(27% 0.085 0.9)

Export this scale for Tailwind in the Tailwind colors tool

#D4126F 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)#4D57710.254
Deuteranopia (no green cones)#7F7A6B0.224
Tritanopia (no blue cones)#E700430.073
Achromatopsia (no color)#6E6E6E0.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4126F

    #D4126F

    oklch(56.7% 0.223 0.9)

  • #008A7A

    #008A7A

    oklch(56.8% 0.102 180.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4126F

    #D4126F

    oklch(56.7% 0.223 0.9)

  • #BA2EB1

    #BA2EB1

    oklch(56.7% 0.222 330.9)

  • #DB1C00

    #DB1C00

    oklch(56.8% 0.222 30.9)

Open the analogous palette in the generator

Split complementary

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

  • #D4126F

    #D4126F

    oklch(56.7% 0.223 0.9)

  • #008F44

    #008F44

    oklch(56.9% 0.153 150.9)

  • #008697

    #008697

    oklch(56.8% 0.098 210.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4126F

    #D4126F

    oklch(56.7% 0.223 0.9)

  • #6B8200

    #6B8200

    oklch(56.8% 0.137 121.2)

  • #007EBC

    #007EBC

    oklch(56.7% 0.132 240.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4126F

    #D4126F

    oklch(56.7% 0.223 0.9)

  • #907300

    #907300

    oklch(56.7% 0.116 91.1)

  • #008A7A

    #008A7A

    oklch(56.8% 0.102 180.9)

  • #4B61F7

    #4B61F7

    oklch(56.7% 0.223 271)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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