#DC31C2

Closest named color: Purpley Pink (#C83CB9). oklch(63% 0.248 335.3), rgb(220, 49, 194).

Aa

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

About this color

#DC31C2 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.248 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.040 away. Black text reads best on it, at 5.26:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.248)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text5.26:1
White text3.99:1

Values

HEX#DC31C2
RGBrgb(220, 49, 194)
HSLhsl(309, 71%, 53%)
OKLCHoklch(63% 0.248 335.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 #DC31C2 3.99:1 AA large text Lc -71.2 Content text, not long reading
Black text on #DC31C2 5.26:1 AA Lc 38.4 Non-text elements, placeholder text
#DC31C2 text on white 3.99:1 AA large text Lc 65.7 Content text, not long reading
#DC31C2 text on black 5.26:1 AA Lc -36.0 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

    #FDF2FA

    oklch(97.2% 0.016 335.1)

  2. Step 100

    100

    #FAE2F3

    oklch(93.7% 0.034 336.2)

  3. Step 200

    200

    #F6C9EB

    oklch(88.5% 0.067 334.9)

  4. Step 300

    300

    #F2A2DF

    oklch(80.9% 0.122 335.7)

  5. Step 400

    400

    #E76ACF

    oklch(70.8% 0.194 335.4)

  6. Step 500

    500 (this color)

    #DC31C2

    oklch(63% 0.248 335.3)

  7. Step 600

    600

    #C100AA

    oklch(55.6% 0.247 335.1)

  8. Step 700

    700

    #A4008F

    oklch(49.2% 0.218 335.6)

  9. Step 800

    800

    #870076

    oklch(42.7% 0.19 335.3)

  10. Step 900

    900

    #700662

    oklch(37.6% 0.162 335.2)

  11. Step 950

    950

    #420A39

    oklch(26.9% 0.102 335.5)

Export this scale for Tailwind in the Tailwind colors tool

#DC31C2 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)#316FC60.274
Deuteranopia (no green cones)#7188BE0.232
Tritanopia (no blue cones)#E741780.125
Achromatopsia (no color)#7F7F7F0.251

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC31C2

    #DC31C2

    oklch(63% 0.248 335.3)

  • #00A45E

    #00A45E

    oklch(63.1% 0.156 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC31C2

    #DC31C2

    oklch(63% 0.248 335.3)

  • #AE4EFD

    #AE4EFD

    oklch(63% 0.248 305.4)

  • #F71074

    #F71074

    oklch(63.1% 0.249 5.4)

Open the analogous palette in the generator

Split complementary

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

  • #DC31C2

    #DC31C2

    oklch(63% 0.248 335.3)

  • #739900

    #739900

    oklch(63.1% 0.159 125.3)

  • #009F92

    #009F92

    oklch(63.2% 0.111 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC31C2

    #DC31C2

    oklch(63% 0.248 335.3)

  • #A28700

    #A28700

    oklch(63% 0.129 94.8)

  • #009AB3

    #009AB3

    oklch(63.1% 0.111 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC31C2

    #DC31C2

    oklch(63% 0.248 335.3)

  • #C27400

    #C27400

    oklch(63% 0.141 65.1)

  • #00A45E

    #00A45E

    oklch(63.1% 0.156 155.1)

  • #008FE2

    #008FE2

    oklch(62.9% 0.16 245.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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