#D12898

Closest named color: Medium Violet Red (#C71585). oklch(58.8% 0.225 346), rgb(209, 40, 152).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.225)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.46:1
White text4.70:1

Values

HEX#D12898
RGBrgb(209, 40, 152)
HSLhsl(320, 68%, 49%)
OKLCHoklch(58.8% 0.225 346)

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 #D12898 4.70:1 AA Lc -76.5 Fine for body text
Black text on #D12898 4.46:1 AA large text Lc 33.1 Non-text elements, placeholder text
#D12898 text on white 4.70:1 AA Lc 71.0 Content text, not long reading
#D12898 text on black 4.46:1 AA large text Lc -30.6 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

    #F9E2EE

    oklch(93.5% 0.03 344.8)

  3. Step 200

    200

    #F6CBE1

    oklch(88.5% 0.056 346.1)

  4. Step 300

    300

    #F1A6CE

    oklch(80.9% 0.101 346.4)

  5. Step 400

    400

    #E672B6

    oklch(70.7% 0.163 345.9)

  6. Step 500

    500

    #DB46A3

    oklch(63.2% 0.206 346.2)

  7. Step 600

    600 (this color)

    #D12898

    oklch(58.8% 0.225 346)

  8. Step 700

    700

    #AA0079

    oklch(49.1% 0.208 345.9)

  9. Step 800

    800

    #8A0C62

    oklch(42.6% 0.172 346.1)

  10. Step 900

    900

    #6F1850

    oklch(37.6% 0.134 346)

  11. Step 950

    950

    #42102F

    oklch(27% 0.086 346.2)

Export this scale for Tailwind in the Tailwind colors tool

#D12898 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)#42629B0.253
Deuteranopia (no green cones)#767E940.219
Tritanopia (no blue cones)#E0225E0.094
Achromatopsia (no color)#7474740.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #D12898

    #D12898

    oklch(58.8% 0.225 346)

  • #00936C

    #00936C

    oklch(58.8% 0.122 166.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D12898

    #D12898

    oklch(58.8% 0.225 346)

  • #AE41D4

    #AE41D4

    oklch(58.8% 0.225 315.9)

  • #E21A4D

    #E21A4D

    oklch(58.7% 0.224 15.8)

Open the analogous palette in the generator

Split complementary

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

  • #D12898

    #D12898

    oklch(58.8% 0.225 346)

  • #469200

    #469200

    oklch(58.8% 0.175 136)

  • #008E90

    #008E90

    oklch(58.6% 0.1 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D12898

    #D12898

    oklch(58.8% 0.225 346)

  • #878000

    #878000

    oklch(58.7% 0.125 105.8)

  • #0089AF

    #0089AF

    oklch(58.7% 0.112 226.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D12898

    #D12898

    oklch(58.8% 0.225 346)

  • #A67000

    #A67000

    oklch(58.7% 0.124 75.5)

  • #00936C

    #00936C

    oklch(58.8% 0.122 166.2)

  • #0078EF

    #0078EF

    oklch(58.7% 0.2 256)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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