#D9298B

Closest named color: Medium Violet Red (#C71585). oklch(59.6% 0.223 352.7), rgb(217, 41, 139).

Aa

Black text reads best on this color (4.64:1).

About this color

#D9298B is a medium-dark, vivid red. In OKLCH its lightness is 60%, its chroma 0.223 and its hue 353°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.044 away. Black text reads best on it, at 4.64:1.

Hue familyReds
Lightnessmedium-dark (60%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.64:1
White text4.52:1

Values

HEX#D9298B
RGBrgb(217, 41, 139)
HSLhsl(327, 70%, 51%)
OKLCHoklch(59.6% 0.223 352.7)

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 #D9298B 4.52:1 AA Lc -75.3 Fine for body text
Black text on #D9298B 4.64:1 AA Lc 34.3 Non-text elements, placeholder text
#D9298B text on white 4.52:1 AA Lc 69.8 Content text, not long reading
#D9298B text on black 4.64:1 AA Lc -31.9 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 500.

  1. Step 50

    50

    #FEF2F6

    oklch(97.2% 0.014 355)

  2. Step 100

    100

    #FCE2EC

    oklch(93.7% 0.031 352.4)

  3. Step 200

    200

    #FAC9DD

    oklch(88.4% 0.061 352)

  4. Step 300

    300

    #F8A3C7

    oklch(80.9% 0.109 352.8)

  5. Step 400

    400

    #EF6CAA

    oklch(70.7% 0.174 352.9)

  6. Step 500

    500 (this color)

    #D9298B

    oklch(59.6% 0.223 352.7)

  7. Step 600

    600

    #CD007F

    oklch(55.6% 0.23 352.9)

  8. Step 700

    700

    #AD006B

    oklch(49% 0.203 352.6)

  9. Step 800

    800

    #8F0058

    oklch(42.7% 0.177 352.4)

  10. Step 900

    900

    #760D48

    oklch(37.8% 0.145 353.2)

  11. Step 950

    950

    #450C2A

    oklch(26.9% 0.091 353)

Export this scale for Tailwind in the Tailwind colors tool

#D9298B 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)#4E628D0.252
Deuteranopia (no green cones)#8082870.222
Tritanopia (no blue cones)#EA0E580.080
Achromatopsia (no color)#7676760.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9298B

    #D9298B

    oklch(59.6% 0.223 352.7)

  • #009578

    #009578

    oklch(59.7% 0.115 172.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9298B

    #D9298B

    oklch(59.6% 0.223 352.7)

  • #BA40CA

    #BA40CA

    oklch(59.7% 0.222 322.9)

  • #E6253A

    #E6253A

    oklch(59.7% 0.223 22.8)

Open the analogous palette in the generator

Split complementary

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

  • #D9298B

    #D9298B

    oklch(59.6% 0.223 352.7)

  • #009B07

    #009B07

    oklch(59.8% 0.202 142.7)

  • #00909A

    #00909A

    oklch(59.5% 0.101 203.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9298B

    #D9298B

    oklch(59.6% 0.223 352.7)

  • #818600

    #818600

    oklch(59.6% 0.132 112.4)

  • #008ABC

    #008ABC

    oklch(59.6% 0.123 233)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9298B

    #D9298B

    oklch(59.6% 0.223 352.7)

  • #A27700

    #A27700

    oklch(59.6% 0.123 83.2)

  • #009578

    #009578

    oklch(59.7% 0.115 172.5)

  • #3173FF

    #3173FF

    oklch(59.6% 0.219 262.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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