#D12F98

Closest named color: Medium Violet Red (#C71585). oklch(59.2% 0.218 346.3), rgb(209, 47, 152).

Aa

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

About this color

#D12F98 is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.218 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.041 away. White text reads best on it, at 4.59:1.

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

Values

HEX#D12F98
RGBrgb(209, 47, 152)
HSLhsl(321, 64%, 50%)
OKLCHoklch(59.2% 0.218 346.3)

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 #D12F98 4.59:1 AA Lc -75.9 Fine for body text
Black text on #D12F98 4.57:1 AA Lc 33.6 Non-text elements, placeholder text
#D12F98 text on white 4.59:1 AA Lc 70.5 Content text, not long reading
#D12F98 text on black 4.57: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

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CBE1

    oklch(88.4% 0.055 345.4)

  4. Step 300

    300

    #F0A7CE

    oklch(81% 0.099 346.2)

  5. Step 400

    400

    #E474B5

    oklch(70.7% 0.157 346)

  6. Step 500

    500

    #D949A2

    oklch(63.1% 0.2 346.3)

  7. Step 600

    600 (this color)

    #D12F98

    oklch(59.2% 0.218 346.3)

  8. Step 700

    700

    #A90978

    oklch(49.1% 0.203 346.2)

  9. Step 800

    800

    #891161

    oklch(42.6% 0.168 346.4)

  10. Step 900

    900

    #6F1A50

    oklch(37.8% 0.131 346.3)

  11. Step 950

    950

    #41112F

    oklch(27% 0.083 345.7)

Export this scale for Tailwind in the Tailwind colors tool

#D12F98 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)#47649B0.244
Deuteranopia (no green cones)#787F940.213
Tritanopia (no blue cones)#E02A600.091
Achromatopsia (no color)#7575750.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #D12F98

    #D12F98

    oklch(59.2% 0.218 346.3)

  • #00946D

    #00946D

    oklch(59.1% 0.122 166.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D12F98

    #D12F98

    oklch(59.2% 0.218 346.3)

  • #AE45D2

    #AE45D2

    oklch(59.1% 0.218 316.2)

  • #E2254E

    #E2254E

    oklch(59.3% 0.219 16.5)

Open the analogous palette in the generator

Split complementary

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

  • #D12F98

    #D12F98

    oklch(59.2% 0.218 346.3)

  • #459400

    #459400

    oklch(59.3% 0.177 136.4)

  • #009092

    #009092

    oklch(59.2% 0.101 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D12F98

    #D12F98

    oklch(59.2% 0.218 346.3)

  • #888200

    #888200

    oklch(59.3% 0.127 106.4)

  • #008BB1

    #008BB1

    oklch(59.3% 0.113 225.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D12F98

    #D12F98

    oklch(59.2% 0.218 346.3)

  • #A77200

    #A77200

    oklch(59.2% 0.124 76.5)

  • #00946D

    #00946D

    oklch(59.1% 0.122 166.3)

  • #0079F3

    #0079F3

    oklch(59.2% 0.204 256.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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