#D338A3

Closest named color: Purpley Pink (#C83CB9). oklch(60.7% 0.217 343.3), rgb(211, 56, 163).

Aa

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

About this color

#D338A3 is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.217 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.041 away. Black text reads best on it, at 4.86:1.

Hue familyPinks
Lightnessmedium-dark (61%)
Chromavivid (0.217)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.86:1
White text4.31:1

Values

HEX#D338A3
RGBrgb(211, 56, 163)
HSLhsl(319, 64%, 52%)
OKLCHoklch(60.7% 0.217 343.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 #D338A3 4.31:1 AA large text Lc -74.1 Content text, not long reading
Black text on #D338A3 4.86:1 AA Lc 35.5 Non-text elements, placeholder text
#D338A3 text on white 4.31:1 AA large text Lc 68.6 Content text, not long reading
#D338A3 text on black 4.86:1 AA Lc -33.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

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #FAE2EF

    oklch(93.6% 0.031 343.8)

  3. Step 200

    200

    #F6CAE3

    oklch(88.4% 0.059 343.3)

  4. Step 300

    300

    #F1A5D2

    oklch(80.9% 0.106 343.4)

  5. Step 400

    400

    #E670BC

    oklch(70.6% 0.17 343)

  6. Step 500

    500 (this color)

    #D338A3

    oklch(60.7% 0.217 343.3)

  7. Step 600

    600

    #C70696

    oklch(55.7% 0.236 343.3)

  8. Step 700

    700

    #A9007F

    oklch(49.2% 0.211 343.2)

  9. Step 800

    800

    #8B0268

    oklch(42.7% 0.182 343.2)

  10. Step 900

    900

    #701454

    oklch(37.7% 0.142 343.6)

  11. Step 950

    950

    #420F31

    oklch(27% 0.089 343.8)

Export this scale for Tailwind in the Tailwind colors tool

#D338A3 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)#4969A60.240
Deuteranopia (no green cones)#79839F0.209
Tritanopia (no blue cones)#E138690.095
Achromatopsia (no color)#7A7A7A0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D338A3

    #D338A3

    oklch(60.7% 0.217 343.3)

  • #009A6C

    #009A6C

    oklch(60.7% 0.13 163.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D338A3

    #D338A3

    oklch(60.7% 0.217 343.3)

  • #AE4DDC

    #AE4DDC

    oklch(60.6% 0.217 313)

  • #E62D5B

    #E62D5B

    oklch(60.7% 0.217 13.4)

Open the analogous palette in the generator

Split complementary

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

  • #D338A3

    #D338A3

    oklch(60.7% 0.217 343.3)

  • #559600

    #559600

    oklch(60.5% 0.172 133.3)

  • #009594

    #009594

    oklch(60.6% 0.104 193.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D338A3

    #D338A3

    oklch(60.7% 0.217 343.3)

  • #908500

    #908500

    oklch(60.7% 0.128 103.7)

  • #0090B4

    #0090B4

    oklch(60.7% 0.114 223.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D338A3

    #D338A3

    oklch(60.7% 0.217 343.3)

  • #B07400

    #B07400

    oklch(60.7% 0.129 73.3)

  • #009A6C

    #009A6C

    oklch(60.7% 0.13 163.4)

  • #0082EE

    #0082EE

    oklch(60.7% 0.188 253.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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