#D42A92

Closest named color: Medium Violet Red (#C71585). oklch(59.1% 0.222 349), rgb(212, 42, 146).

Aa

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

About this color

#D42A92 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.222 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.038 away. White text reads best on it, at 4.61:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.222)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.54:1
White text4.61:1

Values

HEX#D42A92
RGBrgb(212, 42, 146)
HSLhsl(323, 67%, 50%)
OKLCHoklch(59.1% 0.222 349)

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 #D42A92 4.61:1 AA Lc -76.0 Fine for body text
Black text on #D42A92 4.54:1 AA Lc 33.6 Non-text elements, placeholder text
#D42A92 text on white 4.61:1 AA Lc 70.5 Content text, not long reading
#D42A92 text on black 4.54:1 AA Lc -31.2 Non-text elements, placeholder text

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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #FAE2ED

    oklch(93.5% 0.03 348.2)

  3. Step 200

    200

    #F7CBDF

    oklch(88.6% 0.056 349.2)

  4. Step 300

    300

    #F2A6CB

    oklch(80.9% 0.101 348.9)

  5. Step 400

    400

    #E773B0

    oklch(70.7% 0.159 349.1)

  6. Step 500

    500

    #DC469D

    oklch(63.1% 0.204 348.8)

  7. Step 600

    600 (this color)

    #D42A92

    oklch(59.1% 0.222 349)

  8. Step 700

    700

    #AC0073

    oklch(49.2% 0.206 349)

  9. Step 800

    800

    #8C0C5D

    oklch(42.8% 0.171 349.3)

  10. Step 900

    900

    #70184C

    oklch(37.6% 0.132 349.2)

  11. Step 950

    950

    #42102D

    oklch(26.9% 0.085 348.5)

Export this scale for Tailwind in the Tailwind colors tool

#D42A92 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)#4962950.249
Deuteranopia (no green cones)#7A7F8E0.218
Tritanopia (no blue cones)#E41D5C0.086
Achromatopsia (no color)#7575750.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42A92

    #D42A92

    oklch(59.1% 0.222 349)

  • #009471

    #009471

    oklch(59.2% 0.119 168.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42A92

    #D42A92

    oklch(59.1% 0.222 349)

  • #B341CF

    #B341CF

    oklch(59.2% 0.222 319)

  • #E32145

    #E32145

    oklch(59.1% 0.222 19.1)

Open the analogous palette in the generator

Split complementary

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

  • #D42A92

    #D42A92

    oklch(59.1% 0.222 349)

  • #359600

    #359600

    oklch(59.2% 0.187 139)

  • #008F94

    #008F94

    oklch(59% 0.1 199.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42A92

    #D42A92

    oklch(59.1% 0.222 349)

  • #848300

    #848300

    oklch(59.1% 0.128 109.2)

  • #008AB4

    #008AB4

    oklch(59.2% 0.116 228.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42A92

    #D42A92

    oklch(59.1% 0.222 349)

  • #A47300

    #A47300

    oklch(59% 0.123 79)

  • #009471

    #009471

    oklch(59.2% 0.119 168.6)

  • #0E74FE

    #0E74FE

    oklch(59.1% 0.222 259.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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