#D840BA

Closest named color: Pinky Purple (#C94CBE). oklch(63.2% 0.226 337), rgb(216, 64, 186).

Aa

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

About this color

#D840BA is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.226 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.031 away. Black text reads best on it, at 5.36:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.226)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.36:1
White text3.91:1

Values

HEX#D840BA
RGBrgb(216, 64, 186)
HSLhsl(312, 66%, 55%)
OKLCHoklch(63.2% 0.226 337)

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 #D840BA 3.91:1 AA large text Lc -70.9 Content text, not long reading
Black text on #D840BA 5.36:1 AA Lc 38.7 Non-text elements, placeholder text
#D840BA text on white 3.91:1 AA large text Lc 65.4 Content text, not long reading
#D840BA text on black 5.36:1 AA Lc -36.2 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F9E2F2

    oklch(93.6% 0.033 336.7)

  3. Step 200

    200

    #F5CAE8

    oklch(88.5% 0.062 337.2)

  4. Step 300

    300

    #EFA5DB

    oklch(81% 0.111 336.9)

  5. Step 400

    400

    #E370C8

    oklch(70.7% 0.176 337)

  6. Step 500

    500 (this color)

    #D840BA

    oklch(63.2% 0.226 337)

  7. Step 600

    600

    #C300A6

    oklch(55.7% 0.245 336.9)

  8. Step 700

    700

    #A5008C

    oklch(49.2% 0.217 337)

  9. Step 800

    800

    #880073

    oklch(42.7% 0.188 337)

  10. Step 900

    900

    #6E135D

    oklch(37.7% 0.147 337.2)

  11. Step 950

    950

    #410E37

    oklch(27% 0.095 336.8)

Export this scale for Tailwind in the Tailwind colors tool

#D840BA 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)#4472BD0.246
Deuteranopia (no green cones)#7789B60.212
Tritanopia (no blue cones)#E349780.110
Achromatopsia (no color)#8181810.228

Harmonies

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

Complementary

The opposite hue (180°).

  • #D840BA

    #D840BA

    oklch(63.2% 0.226 337)

  • #00A463

    #00A463

    oklch(63.2% 0.151 156.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D840BA

    #D840BA

    oklch(63.2% 0.226 337)

  • #AE57F1

    #AE57F1

    oklch(63.2% 0.225 307.1)

  • #F03172

    #F03172

    oklch(63.2% 0.225 7.1)

Open the analogous palette in the generator

Split complementary

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

  • #D840BA

    #D840BA

    oklch(63.2% 0.226 337)

  • #6F9A00

    #6F9A00

    oklch(63.1% 0.162 126.9)

  • #009F95

    #009F95

    oklch(63.3% 0.11 187)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D840BA

    #D840BA

    oklch(63.2% 0.226 337)

  • #A08900

    #A08900

    oklch(63.2% 0.13 97.2)

  • #009AB6

    #009AB6

    oklch(63.3% 0.113 216.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D840BA

    #D840BA

    oklch(63.2% 0.226 337)

  • #C17600

    #C17600

    oklch(63.2% 0.14 66.8)

  • #00A463

    #00A463

    oklch(63.2% 0.151 156.8)

  • #008FE7

    #008FE7

    oklch(63.2% 0.166 246.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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