#D42796

Closest named color: Medium Violet Red (#C71585). oklch(59.1% 0.226 347.4), rgb(212, 39, 150).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.226)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.53:1
White text4.63:1

Values

HEX#D42796
RGBrgb(212, 39, 150)
HSLhsl(322, 69%, 49%)
OKLCHoklch(59.1% 0.226 347.4)

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 #D42796 4.63:1 AA Lc -76.0 Fine for body text
Black text on #D42796 4.53:1 AA Lc 33.5 Non-text elements, placeholder text
#D42796 text on white 4.63:1 AA Lc 70.5 Content text, not long reading
#D42796 text on black 4.53:1 AA Lc -31.1 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

    #F7CBE0

    oklch(88.6% 0.056 348)

  4. Step 300

    300

    #F2A6CD

    oklch(81% 0.102 347.5)

  5. Step 400

    400

    #E772B3

    oklch(70.7% 0.162 347.6)

  6. Step 500

    500

    #DC44A0

    oklch(63% 0.208 347.5)

  7. Step 600

    600 (this color)

    #D42796

    oklch(59.1% 0.226 347.4)

  8. Step 700

    700

    #AB0076

    oklch(49.1% 0.207 347.4)

  9. Step 800

    800

    #8C0960

    oklch(42.8% 0.174 347.7)

  10. Step 900

    900

    #70174F

    oklch(37.7% 0.135 347.1)

  11. Step 950

    950

    #42102E

    oklch(27% 0.085 347.4)

Export this scale for Tailwind in the Tailwind colors tool

#D42796 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)#4562990.255
Deuteranopia (no green cones)#797F920.221
Tritanopia (no blue cones)#E31D5D0.091
Achromatopsia (no color)#7575750.228

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42796

    #D42796

    oklch(59.1% 0.226 347.4)

  • #00946F

    #00946F

    oklch(59.2% 0.121 167.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42796

    #D42796

    oklch(59.1% 0.226 347.4)

  • #B140D3

    #B140D3

    oklch(59.1% 0.226 317.3)

  • #E41A49

    #E41A49

    oklch(59% 0.226 17.3)

Open the analogous palette in the generator

Split complementary

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

  • #D42796

    #D42796

    oklch(59.1% 0.226 347.4)

  • #3F9400

    #3F9400

    oklch(59% 0.18 137.4)

  • #008F92

    #008F92

    oklch(59% 0.1 197.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42796

    #D42796

    oklch(59.1% 0.226 347.4)

  • #868200

    #868200

    oklch(59.1% 0.127 107.6)

  • #008AB2

    #008AB2

    oklch(59.1% 0.114 227.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42796

    #D42796

    oklch(59.1% 0.226 347.4)

  • #A67200

    #A67200

    oklch(59.1% 0.124 77.1)

  • #00946F

    #00946F

    oklch(59.2% 0.121 167.4)

  • #0077F8

    #0077F8

    oklch(59.1% 0.213 257.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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