#D12B98

Closest named color: Medium Violet Red (#C71585). oklch(58.9% 0.222 346.1), rgb(209, 43, 152).

Aa

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

About this color

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

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

Values

HEX#D12B98
RGBrgb(209, 43, 152)
HSLhsl(321, 66%, 49%)
OKLCHoklch(58.9% 0.222 346.1)

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 #D12B98 4.65:1 AA Lc -76.3 Fine for body text
Black text on #D12B98 4.51:1 AA Lc 33.3 Non-text elements, placeholder text
#D12B98 text on white 4.65:1 AA Lc 70.8 Content text, not long reading
#D12B98 text on black 4.51:1 AA Lc -30.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 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

    #F6CBE1

    oklch(88.5% 0.056 346.1)

  4. Step 300

    300

    #F0A6CE

    oklch(80.8% 0.1 346)

  5. Step 400

    400

    #E573B5

    oklch(70.7% 0.16 346.2)

  6. Step 500

    500

    #DA47A3

    oklch(63.1% 0.204 346)

  7. Step 600

    600 (this color)

    #D12B98

    oklch(58.9% 0.222 346.1)

  8. Step 700

    700

    #AA0378

    oklch(49.1% 0.206 346.4)

  9. Step 800

    800

    #8A0E62

    oklch(42.7% 0.171 346.1)

  10. Step 900

    900

    #6F1950

    oklch(37.7% 0.133 346.1)

  11. Step 950

    950

    #41112F

    oklch(27% 0.083 345.7)

Export this scale for Tailwind in the Tailwind colors tool

#D12B98 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)#44629B0.250
Deuteranopia (no green cones)#777E940.216
Tritanopia (no blue cones)#E0255F0.092
Achromatopsia (no color)#7474740.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #D12B98

    #D12B98

    oklch(58.9% 0.222 346.1)

  • #00936C

    #00936C

    oklch(58.8% 0.122 166.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D12B98

    #D12B98

    oklch(58.9% 0.222 346.1)

  • #AE43D3

    #AE43D3

    oklch(59% 0.222 316.1)

  • #E21F4D

    #E21F4D

    oklch(58.9% 0.222 16.3)

Open the analogous palette in the generator

Split complementary

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

  • #D12B98

    #D12B98

    oklch(58.9% 0.222 346.1)

  • #469300

    #469300

    oklch(59% 0.176 136.1)

  • #008F91

    #008F91

    oklch(58.9% 0.1 196.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D12B98

    #D12B98

    oklch(58.9% 0.222 346.1)

  • #878100

    #878100

    oklch(59% 0.126 106.4)

  • #008AB0

    #008AB0

    oklch(59% 0.113 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D12B98

    #D12B98

    oklch(58.9% 0.222 346.1)

  • #A67100

    #A67100

    oklch(58.9% 0.124 76.3)

  • #00936C

    #00936C

    oklch(58.8% 0.122 166.2)

  • #0079F1

    #0079F1

    oklch(59% 0.202 256)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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