#CA78B2

Closest named color: Pale Magenta (#D767AD). oklch(67.9% 0.126 338.7), rgb(202, 120, 178).

Aa

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

About this color

#CA78B2 is a medium-light, moderately saturated pink. In OKLCH its lightness is 68%, its chroma 0.126 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.040 away. Black text reads best on it, at 6.84:1.

Hue familyPinks
Lightnessmedium-light (68%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text6.84:1
White text3.06:1

Values

HEX#CA78B2
RGBrgb(202, 120, 178)
HSLhsl(318, 44%, 63%)
OKLCHoklch(67.9% 0.126 338.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 #CA78B2 3.06:1 AA large text Lc -62.7 Content text, not long reading
Black text on #CA78B2 6.84:1 AA Lc 46.7 Large or bold text, headings
#CA78B2 text on white 3.06:1 AA large text Lc 57.3 Large or bold text, headings
#CA78B2 text on black 6.84:1 AA Lc -44.4 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 400.

  1. Step 50

    50

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECFE3

    oklch(88.6% 0.043 339.2)

  4. Step 300

    300

    #E3ADD2

    oklch(80.8% 0.079 338.3)

  5. Step 400

    400 (this color)

    #CA78B2

    oklch(67.9% 0.126 338.7)

  6. Step 500

    500

    #C55DAA

    oklch(63% 0.161 338.3)

  7. Step 600

    600

    #B14095

    oklch(55.6% 0.175 338.8)

  8. Step 700

    700

    #97317F

    oklch(49% 0.162 338.5)

  9. Step 800

    800

    #7B2A67

    oklch(42.7% 0.134 338.7)

  10. Step 900

    900

    #642754

    oklch(37.7% 0.106 338.9)

  11. Step 950

    950

    #3B1831

    oklch(27.1% 0.066 339.4)

Export this scale for Tailwind in the Tailwind colors tool

#CA78B2 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)#7B8BB40.127
Deuteranopia (no green cones)#9098B00.117
Tritanopia (no blue cones)#D27A8D0.059
Achromatopsia (no color)#9393930.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA78B2

    #CA78B2

    oklch(67.9% 0.126 338.7)

  • #45AF7B

    #45AF7B

    oklch(67.9% 0.125 158.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA78B2

    #CA78B2

    oklch(67.9% 0.126 338.7)

  • #AE82D3

    #AE82D3

    oklch(68% 0.125 308.4)

  • #D97588

    #D97588

    oklch(68% 0.126 8.9)

Open the analogous palette in the generator

Split complementary

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

  • #CA78B2

    #CA78B2

    oklch(67.9% 0.126 338.7)

  • #80A74E

    #80A74E

    oklch(68% 0.126 128.9)

  • #00AFA7

    #00AFA7

    oklch(68% 0.118 189)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA78B2

    #CA78B2

    oklch(67.9% 0.126 338.7)

  • #AC992C

    #AC992C

    oklch(68% 0.126 99)

  • #00A9CB

    #00A9CB

    oklch(67.9% 0.123 219)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA78B2

    #CA78B2

    oklch(67.9% 0.126 338.7)

  • #CA8835

    #CA8835

    oklch(67.9% 0.126 68.5)

  • #45AF7B

    #45AF7B

    oklch(67.9% 0.125 158.8)

  • #549DE2

    #549DE2

    oklch(67.9% 0.126 249)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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