#DF12D3

Closest named color: Purple Pink (#D725DE). oklch(63% 0.279 331.3), rgb(223, 18, 211).

Aa

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

About this color

#DF12D3 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.279 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Pink (#D725DE), ΔE 0.024 away. Black text reads best on it, at 5.16:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.279)
Temperaturein between
Nearest namePurple Pink (#D725DE)
Black text5.16:1
White text4.06:1

Values

HEX#DF12D3
RGBrgb(223, 18, 211)
HSLhsl(304, 85%, 47%)
OKLCHoklch(63% 0.279 331.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 #DF12D3 4.06:1 AA large text Lc -71.1 Content text, not long reading
Black text on #DF12D3 5.16:1 AA Lc 38.5 Non-text elements, placeholder text
#DF12D3 text on white 4.06:1 AA large text Lc 65.6 Content text, not long reading
#DF12D3 text on black 5.16:1 AA Lc -36.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 500.

  1. Step 50

    50

    #FDF1FB

    oklch(97% 0.018 331.1)

  2. Step 100

    100

    #FAE1F6

    oklch(93.6% 0.039 331.1)

  3. Step 200

    200

    #F7C7F0

    oklch(88.4% 0.076 331.2)

  4. Step 300

    300

    #F39FE9

    oklch(80.9% 0.136 331)

  5. Step 400

    400

    #EA61DD

    oklch(70.7% 0.219 331.5)

  6. Step 500

    500 (this color)

    #DF12D3

    oklch(63% 0.279 331.3)

  7. Step 600

    600

    #BE00B4

    oklch(55.6% 0.252 331.2)

  8. Step 700

    700

    #A10098

    oklch(49.2% 0.223 331.4)

  9. Step 800

    800

    #85007D

    oklch(42.8% 0.193 331.6)

  10. Step 900

    900

    #6F0069

    oklch(37.6% 0.17 331.2)

  11. Step 950

    950

    #43043F

    oklch(26.9% 0.115 331.2)

Export this scale for Tailwind in the Tailwind colors tool

#DF12D3 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)#006DD70.306
Deuteranopia (no green cones)#6487CF0.258
Tritanopia (no blue cones)#E83B7D0.148
Achromatopsia (no color)#7E7E7E0.282

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF12D3

    #DF12D3

    oklch(63% 0.279 331.3)

  • #00A451

    #00A451

    oklch(62.9% 0.168 151.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF12D3

    #DF12D3

    oklch(63% 0.279 331.3)

  • #A556FF

    #A556FF

    oklch(63% 0.239 301.2)

  • #F7007F

    #F7007F

    oklch(63.1% 0.255 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #DF12D3

    #DF12D3

    oklch(63% 0.279 331.3)

  • #7C9600

    #7C9600

    oklch(63% 0.151 121.2)

  • #009F8E

    #009F8E

    oklch(63% 0.113 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF12D3

    #DF12D3

    oklch(63% 0.279 331.3)

  • #A68500

    #A68500

    oklch(63% 0.129 91.2)

  • #009AAF

    #009AAF

    oklch(63% 0.11 211.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF12D3

    #DF12D3

    oklch(63% 0.279 331.3)

  • #C77100

    #C77100

    oklch(63.1% 0.146 61.3)

  • #00A451

    #00A451

    oklch(62.9% 0.168 151.4)

  • #0092DA

    #0092DA

    oklch(63.1% 0.148 241.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DF12D3.

Similar named colors

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

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