#CA0871

Closest named color: Medium Violet Red (#C71585). oklch(54.7% 0.22 357.7), rgb(202, 8, 113).

Aa

White text reads best on this color (5.54:1).

About this color

#CA0871 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.220 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.031 away. White text reads best on it, at 5.54:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.220)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.78:1
White text5.54:1

Values

HEX#CA0871
RGBrgb(202, 8, 113)
HSLhsl(328, 92%, 41%)
OKLCHoklch(54.7% 0.22 357.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 #CA0871 5.54:1 AA Lc -80.7 Fine for body text
Black text on #CA0871 3.78:1 AA large text Lc 28.7 Dividers and decoration only
#CA0871 text on white 5.54:1 AA Lc 75.4 Fine for body text
#CA0871 text on black 3.78:1 AA large text Lc -26.4 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE2EA

    oklch(93.5% 0.029 356.3)

  3. Step 200

    200

    #F9CBD9

    oklch(88.6% 0.055 358.1)

  4. Step 300

    300

    #F5A6C1

    oklch(80.9% 0.099 357.4)

  5. Step 400

    400

    #EC72A1

    oklch(70.8% 0.158 357.6)

  6. Step 500

    500

    #E2448A

    oklch(63.2% 0.202 357.6)

  7. Step 600

    600 (this color)

    #CA0871

    oklch(54.7% 0.22 357.7)

  8. Step 700

    700

    #AF0061

    oklch(49% 0.2 357.5)

  9. Step 800

    800

    #90074F

    oklch(42.8% 0.17 357.8)

  10. Step 900

    900

    #741642

    oklch(37.8% 0.133 357.6)

  11. Step 950

    950

    #441026

    oklch(27% 0.083 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#CA0871 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)#4553730.251
Deuteranopia (no green cones)#76746D0.222
Tritanopia (no blue cones)#DB00420.078
Achromatopsia (no color)#6868680.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #CA0871

    #CA0871

    oklch(54.7% 0.22 357.7)

  • #008470

    #008470

    oklch(54.8% 0.102 177.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CA0871

    #CA0871

    oklch(54.7% 0.22 357.7)

  • #AF2AB0

    #AF2AB0

    oklch(54.7% 0.22 327.8)

  • #D30A15

    #D30A15

    oklch(54.7% 0.22 27.7)

Open the analogous palette in the generator

Split complementary

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

  • #CA0871

    #CA0871

    oklch(54.7% 0.22 357.7)

  • #008833

    #008833

    oklch(54.6% 0.159 147.7)

  • #00808D

    #00808D

    oklch(54.8% 0.094 207.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CA0871

    #CA0871

    oklch(54.7% 0.22 357.7)

  • #6B7A00

    #6B7A00

    oklch(54.8% 0.127 117.9)

  • #0079AE

    #0079AE

    oklch(54.7% 0.121 237.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CA0871

    #CA0871

    oklch(54.7% 0.22 357.7)

  • #8C6C00

    #8C6C00

    oklch(54.8% 0.112 88.1)

  • #008470

    #008470

    oklch(54.8% 0.102 177.1)

  • #3B5EEE

    #3B5EEE

    oklch(54.7% 0.22 267.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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