#CA5F98

Closest named color: Pale Magenta (#D767AD). oklch(63.2% 0.15 349.1), rgb(202, 95, 152).

Aa

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

About this color

#CA5F98 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.150 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.041 away. Black text reads best on it, at 5.60:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.150)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text5.60:1
White text3.74:1

Values

HEX#CA5F98
RGBrgb(202, 95, 152)
HSLhsl(328, 50%, 58%)
OKLCHoklch(63.2% 0.15 349.1)

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 #CA5F98 3.74:1 AA large text Lc -70.1 Content text, not long reading
Black text on #CA5F98 5.60:1 AA Lc 39.5 Non-text elements, placeholder text
#CA5F98 text on white 3.74:1 AA large text Lc 64.6 Content text, not long reading
#CA5F98 text on black 5.60:1 AA Lc -37.1 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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #EFCFDD

    oklch(88.5% 0.04 349.7)

  4. Step 300

    300

    #E6AEC8

    oklch(81% 0.073 349.3)

  5. Step 400

    400

    #D781AC

    oklch(70.7% 0.118 349.2)

  6. Step 500

    500 (this color)

    #CA5F98

    oklch(63.2% 0.15 349.1)

  7. Step 600

    600

    #B54282

    oklch(55.7% 0.163 349.3)

  8. Step 700

    700

    #9B336E

    oklch(49.1% 0.151 349.1)

  9. Step 800

    800

    #7E2B5A

    oklch(42.7% 0.126 348.8)

  10. Step 900

    900

    #66284A

    oklch(37.7% 0.099 348.8)

  11. Step 950

    950

    #3C182B

    oklch(27% 0.063 349.2)

Export this scale for Tailwind in the Tailwind colors tool

#CA5F98 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)#6B789A0.162
Deuteranopia (no green cones)#878B950.148
Tritanopia (no blue cones)#D75C750.056
Achromatopsia (no color)#8484840.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA5F98

    #CA5F98

    oklch(63.2% 0.15 349.1)

  • #00A27D

    #00A27D

    oklch(63.3% 0.126 169.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA5F98

    #CA5F98

    oklch(63.2% 0.15 349.1)

  • #B069C3

    #B069C3

    oklch(63.3% 0.15 318.9)

  • #D55E65

    #D55E65

    oklch(63.2% 0.15 18.9)

Open the analogous palette in the generator

Split complementary

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

  • #CA5F98

    #CA5F98

    oklch(63.2% 0.15 349.1)

  • #559F3F

    #559F3F

    oklch(63.3% 0.151 139.1)

  • #009DA2

    #009DA2

    oklch(63.2% 0.107 198.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA5F98

    #CA5F98

    oklch(63.2% 0.15 349.1)

  • #919000

    #919000

    oklch(63.3% 0.138 109.3)

  • #0097C6

    #0097C6

    oklch(63.3% 0.125 229.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA5F98

    #CA5F98

    oklch(63.2% 0.15 349.1)

  • #B47F00

    #B47F00

    oklch(63.3% 0.131 79.2)

  • #00A27D

    #00A27D

    oklch(63.3% 0.126 169.2)

  • #4F89E3

    #4F89E3

    oklch(63.3% 0.149 258.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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