#D238A1

Closest named color: Purpley Pink (#C83CB9). oklch(60.4% 0.215 343.7), rgb(210, 56, 161).

Aa

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

About this color

#D238A1 is a medium-dark, vivid pink. In OKLCH its lightness is 60%, its chroma 0.215 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.042 away. Black text reads best on it, at 4.82:1.

Hue familyPinks
Lightnessmedium-dark (60%)
Chromavivid (0.215)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.82:1
White text4.35:1

Values

HEX#D238A1
RGBrgb(210, 56, 161)
HSLhsl(319, 63%, 52%)
OKLCHoklch(60.4% 0.215 343.7)

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 #D238A1 4.35:1 AA large text Lc -74.4 Content text, not long reading
Black text on #D238A1 4.82:1 AA Lc 35.2 Non-text elements, placeholder text
#D238A1 text on white 4.35:1 AA large text Lc 68.9 Content text, not long reading
#D238A1 text on black 4.82:1 AA Lc -32.7 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

    #E671BB

    oklch(70.7% 0.168 343.5)

  6. Step 500

    500 (this color)

    #D238A1

    oklch(60.4% 0.215 343.7)

  7. Step 600

    600

    #C60A95

    oklch(55.5% 0.234 343.4)

  8. Step 700

    700

    #A9007E

    oklch(49.1% 0.21 343.6)

  9. Step 800

    800

    #8B0467

    oklch(42.7% 0.18 343.7)

  10. Step 900

    900

    #701554

    oklch(37.8% 0.14 343.6)

  11. Step 950

    950

    #420F31

    oklch(27% 0.089 343.8)

Export this scale for Tailwind in the Tailwind colors tool

#D238A1 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)#4969A40.238
Deuteranopia (no green cones)#79829D0.207
Tritanopia (no blue cones)#E038680.093
Achromatopsia (no color)#7979790.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #D238A1

    #D238A1

    oklch(60.4% 0.215 343.7)

  • #00996C

    #00996C

    oklch(60.4% 0.129 163.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D238A1

    #D238A1

    oklch(60.4% 0.215 343.7)

  • #AE4DD9

    #AE4DD9

    oklch(60.5% 0.214 313.8)

  • #E42E5A

    #E42E5A

    oklch(60.4% 0.215 13.7)

Open the analogous palette in the generator

Split complementary

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

  • #D238A1

    #D238A1

    oklch(60.4% 0.215 343.7)

  • #539600

    #539600

    oklch(60.4% 0.173 133.7)

  • #009493

    #009493

    oklch(60.3% 0.103 193.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D238A1

    #D238A1

    oklch(60.4% 0.215 343.7)

  • #8F8400

    #8F8400

    oklch(60.4% 0.127 103.7)

  • #008FB3

    #008FB3

    oklch(60.4% 0.113 223.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D238A1

    #D238A1

    oklch(60.4% 0.215 343.7)

  • #AF7400

    #AF7400

    oklch(60.6% 0.129 73.8)

  • #00996C

    #00996C

    oklch(60.4% 0.129 163.8)

  • #0080EF

    #0080EF

    oklch(60.4% 0.191 253.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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